<?php count(Countable|array $value, int $mode = COUNT_NORMAL): int
<?php protected function shiftTaskFromQueue(): void { if (! count($this->queue)) { return; }
<?php protected function isRunning(): bool { return count($this->runningTasks) > 0; } protected function concurrencyLimitReached(): bool
<?php protected function concurrencyLimitReached(): bool { return $this->concurrent && count($this->runningTasks) >= $this->concurrent; } }