PHP Class Contao\CoreBundle\EventListener\CommandSchedulerListener

Show file Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework, Doctrine\DBAL\Connection $connection ) Constructor.
onKernelTerminate ( ) Runs the command scheduler.

Private Methods

Method Description
canRunController ( ) : boolean Checks whether the controller can be run.

Method Details

__construct() public method

Constructor.
public __construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework, Doctrine\DBAL\Connection $connection )
$framework Contao\CoreBundle\Framework\ContaoFrameworkInterface
$connection Doctrine\DBAL\Connection

onKernelTerminate() public method

Runs the command scheduler.
public onKernelTerminate ( )