PHP 클래스 Contao\CoreBundle\Command\AutomatorCommand

상속: extends AbstractLockedCommand, use trait Contao\CoreBundle\Framework\FrameworkAwareTrait
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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