PHP Class Bolt\Events\CronEvent

Author: Gawain Lynch ([email protected])
Inheritance: extends Symfony\Component\EventDispatcher\Event
Afficher le fichier Open project: bolt/bolt

Méthodes publiques

Свойство Type Description
$output Symfony\Component\Console\Output\OutputInterface

Méthodes publiques

Méthode Description
__construct ( Silex\Application $app, Symfony\Component\Console\Output\OutputInterface $output = null ) Constructor.
doRunScheduledJobs ( Symfony\Component\EventDispatcher\Event $event, string $eventName ) Process jobs.

Private Methods

Méthode Description
cronDaily ( ) Daily jobs.
cronHourly ( ) Hourly jobs.
cronMonthly ( ) Monthly jobs.
cronWeekly ( ) Weekly jobs.
cronYearly ( ) Yearly jobs.
notify ( string $msg ) If we're passed an OutputInterface, we're called from Nut and can notify the end user.

Method Details

__construct() public méthode

Constructor.
public __construct ( Silex\Application $app, Symfony\Component\Console\Output\OutputInterface $output = null )
$app Silex\Application
$output Symfony\Component\Console\Output\OutputInterface

doRunScheduledJobs() public méthode

Process jobs.
public doRunScheduledJobs ( Symfony\Component\EventDispatcher\Event $event, string $eventName )
$event Symfony\Component\EventDispatcher\Event
$eventName string

Property Details

$output public_oe property

public OutputInterface,Symfony\Component\Console\Output $output
Résultat Symfony\Component\Console\Output\OutputInterface