Метод | Описание | |
---|---|---|
__construct ( array $scan ) : void | Create a new scanner instance. | |
getRouteDefinitions ( ) : string | Convert the scanned annotations into route definitions. |
Метод | Описание | |
---|---|---|
addEndpoint ( |
Create a new endpoint in the collection. | |
getEndpointsInClass ( ReflectionClass $class, |
Build the Endpoints for the given class. | |
getEndpointsInClasses ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader ) : |
Scan the directory and generate the route manifest. |
public __construct ( array $scan ) : void | ||
$scan | array | |
Результат | void |
protected getEndpointsInClass ( ReflectionClass $class, |
||
$class | ReflectionClass | |
$annotations | ||
Результат |
protected getEndpointsInClasses ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader ) : |
||
$reader | Doctrine\Common\Annotations\SimpleAnnotationReader | |
Результат |
public getRouteDefinitions ( ) : string | ||
Результат | string |