Свойство | Type | Description | |
---|---|---|---|
$scan | array | The path to scan for annotations. |
Méthode | Description | |
---|---|---|
__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. |
Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
protected getClassesToScan ( ) : array | ||
Résultat | array |
protected getEndpointsInClass ( ReflectionClass $class, |
||
$class | ReflectionClass | |
$annotations | ||
Résultat |
protected getEndpointsInClasses ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader ) : |
||
$reader | Doctrine\Common\Annotations\SimpleAnnotationReader | |
Résultat |
protected getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader | ||
Résultat | Doctrine\Common\Annotations\SimpleAnnotationReader |
public getRouteDefinitions ( ) : string | ||
Résultat | string |