PHP Class Collective\Annotations\Events\Annotations\Scanner

Inheritance: extends Collective\Annotations\AnnotationScanner
Datei anzeigen Open project: laravelcollective/annotations Class Usage Examples

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

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

buildListener() protected method

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

getEventDefinitions() public method

Convert the scanned annotations into route definitions.
public getEventDefinitions ( ) : string
return string