PHP Class Collective\Annotations\Database\Eloquent\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.
getModelDefinitions ( ) : string Convert the scanned annotations into route definitions.

Méthodes protégées

Méthode Description
buildBinding ( string $binding, string $class ) : string Build the event listener for the class and method.
extendsEloquent ( ReflectionClass $class ) : boolean Determine if a class extends Eloquent.

Method Details

__construct() public méthode

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

buildBinding() protected méthode

Build the event listener for the class and method.
protected buildBinding ( string $binding, string $class ) : string
$binding string
$class string
Résultat string

extendsEloquent() protected méthode

Determine if a class extends Eloquent.
protected extendsEloquent ( ReflectionClass $class ) : boolean
$class ReflectionClass
Résultat boolean

getModelDefinitions() public méthode

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