프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$scan | array | The path to scan for annotations. |
메소드 | 설명 | |
---|---|---|
__construct ( array $scan ) : void | Create a new scanner instance. | |
create ( array $scan ) : static | Create a new scanner instance. | |
getRouteDefinitions ( ) : string | Convert the scanned annotations into route definitions. |
메소드 | 설명 | |
---|---|---|
addEndpoint ( |
Create a new endpoint in the collection. | |
getClassesToScan ( ) : array | Get all of the ReflectionClass instances in the scan array. | |
getEndpointsInClass ( ReflectionClass $class, |
Build the Endpoints for the given class. | |
getEndpointsInClasses ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader ) : |
Scan the directory and generate the route manifest. | |
getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader | Get an annotation reader instance. |
public __construct ( array $scan ) : void | ||
$scan | array | |
리턴 | void |
protected getClassesToScan ( ) : array | ||
리턴 | array |
protected getEndpointsInClass ( ReflectionClass $class, |
||
$class | ReflectionClass | |
$annotations | ||
리턴 |
protected getEndpointsInClasses ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader ) : |
||
$reader | Doctrine\Common\Annotations\SimpleAnnotationReader | |
리턴 |
protected getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader | ||
리턴 | Doctrine\Common\Annotations\SimpleAnnotationReader |
public getRouteDefinitions ( ) : string | ||
리턴 | string |