Property | Type | Description | |
---|---|---|---|
$namespaces | string | Namespaces to check for annotation reader annotation classes. | |
$scan | array | The paths to scan for annotations. |
Method | Description | |
---|---|---|
__construct ( array $scan ) : void | Create a new scanner instance. | |
addAnnotationNamespace ( string $namespace, string $path = null ) | Add an annotation namespace for the SimpleAnnotationReader instance. | |
create ( array $scan ) : static | Create a new scanner instance. | |
registerAnnotationsPathWithRegistry ( string $path ) | Register the annotator files with the annotation registry. | |
setClassesToScan ( array $scans ) | Set the classes to scan. |
Method | Description | |
---|---|---|
getClassesToScan ( ) : array | Get all of the ReflectionClass instances in the scan array. | |
getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader | Get an annotation reader instance. |
public __construct ( array $scan ) : void | ||
$scan | array | |
return | void |
public addAnnotationNamespace ( string $namespace, string $path = null ) | ||
$namespace | string | |
$path | string |
protected getClassesToScan ( ) : array | ||
return | array |
protected getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader | ||
return | Doctrine\Common\Annotations\SimpleAnnotationReader |
public registerAnnotationsPathWithRegistry ( string $path ) | ||
$path | string |
public setClassesToScan ( array $scans ) | ||
$scans | array |
protected string $namespaces | ||
return | string |