PHP Класс Contao\CoreBundle\Command\AutomatorCommand

Наследование: extends AbstractLockedCommand, use trait Contao\CoreBundle\Framework\FrameworkAwareTrait
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__toString ( ) : string Returns the help text.

Защищенные методы

Метод Описание
configure ( )
executeLocked ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Приватные методы

Метод Описание
generateCommandMap ( ) : array Generates the command map from the Automator class.
getCommands ( ) : array Returns a list of available commands.
getTaskFromInput ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string | null Returns the task name from the argument list or via an interactive dialog.
runAutomator ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Runs the Automator.

Описание методов

__toString() публичный Метод

By using the __toString() method, we ensure that the help text is lazy loaded at a time where the autoloader is available (required by $this->getCommands()).
public __toString ( ) : string
Результат string

configure() защищенный Метод

protected configure ( )

executeLocked() защищенный Метод

protected executeLocked ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface