PHP 클래스 Collective\Annotations\Database\Eloquent\Annotations\Scanner

상속: extends Collective\Annotations\AnnotationScanner
파일 보기 프로젝트 열기: laravelcollective/annotations 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $scan ) : void Create a new event scanner instance.
getModelDefinitions ( ) : string Convert the scanned annotations into route definitions.

보호된 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

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

buildBinding() 보호된 메소드

Build the event listener for the class and method.
protected buildBinding ( string $binding, string $class ) : string
$binding string
$class string
리턴 string

extendsEloquent() 보호된 메소드

Determine if a class extends Eloquent.
protected extendsEloquent ( ReflectionClass $class ) : boolean
$class ReflectionClass
리턴 boolean

getModelDefinitions() 공개 메소드

Convert the scanned annotations into route definitions.
public getModelDefinitions ( ) : string
리턴 string