PHP Class Collective\Annotations\Events\Annotations\Scanner

Inheritance: extends Collective\Annotations\AnnotationScanner
Afficher le fichier Open project: laravelcollective/annotations Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $scan ) : void Create a new event scanner instance.
getEventDefinitions ( ) : string Convert the scanned annotations into route definitions.

Méthodes protégées

Méthode Description
buildListener ( string $class, string $method, array $events ) : string Build the event listener for the class and method.

Method Details

__construct() public méthode

Create a new event scanner instance.
public __construct ( array $scan ) : void
$scan array
Résultat void

buildListener() protected méthode

Build the event listener for the class and method.
protected buildListener ( string $class, string $method, array $events ) : string
$class string
$method string
$events array
Résultat string

getEventDefinitions() public méthode

Convert the scanned annotations into route definitions.
public getEventDefinitions ( ) : string
Résultat string