Illuminate\Bus\Dispatcher::commandShouldBeQueued PHP Метод

commandShouldBeQueued() защищенный метод

Determine if the given command should be queued.
protected commandShouldBeQueued ( mixed $command ) : boolean
$command mixed
Результат boolean
    protected function commandShouldBeQueued($command)
    {
        if ($command instanceof ShouldQueue) {
            return true;
        }
        return (new ReflectionClass($this->getHandlerClass($command)))->implementsInterface('Illuminate\\Contracts\\Queue\\ShouldQueue');
    }