PHP Класс Bolt\Events\CronEvent

Автор: Gawain Lynch ([email protected])
Наследование: extends Symfony\Component\EventDispatcher\Event
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$output Symfony\Component\Console\Output\OutputInterface

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

Метод Описание
__construct ( Silex\Application $app, Symfony\Component\Console\Output\OutputInterface $output = null ) Constructor.
doRunScheduledJobs ( Symfony\Component\EventDispatcher\Event $event, string $eventName ) Process jobs.

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

Метод Описание
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.

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

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

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

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

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

Описание свойств

$output публичное свойство

public OutputInterface,Symfony\Component\Console\Output $output
Результат Symfony\Component\Console\Output\OutputInterface