PHP Класс Collective\Annotations\Events\Annotations\Scanner

Наследование: extends Collective\Annotations\AnnotationScanner
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( array $scan ) : void Create a new event scanner instance.
getEventDefinitions ( ) : string Convert the scanned annotations into route definitions.

Защищенные методы

Метод Описание
buildListener ( string $class, string $method, array $events ) : string Build the event listener for the class and method.

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

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

Create a new event scanner instance.
public __construct ( array $scan ) : void
$scan array
Результат void

buildListener() защищенный Метод

Build the event listener for the class and method.
protected buildListener ( string $class, string $method, array $events ) : string
$class string
$method string
$events array
Результат string

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

Convert the scanned annotations into route definitions.
public getEventDefinitions ( ) : string
Результат string