PHP Class Crunz\Console\Command\ScheduleRunCommand

Inheritance: extends Command, use trait Crunz\Configuration\Configurable
显示文件 Open project: lavary/crunz

Protected Properties

Property Type Description
$runningEvents array Running tasks

Protected Methods

Method Description
collectFiles ( string $source ) : Iterator Collect all task files
configure ( ) Configures the current command
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer Executes the current command

Method Details

collectFiles() protected method

Collect all task files
protected collectFiles ( string $source ) : Iterator
$source string
return Iterator

configure() protected method

Configures the current command
protected configure ( )

execute() protected method

Executes the current command
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return null | integer null or 0 if everything went fine, or an error code

Property Details

$runningEvents protected_oe property

Running tasks
protected array $runningEvents
return array