프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$namespaces | string | Namespaces to check for annotation reader annotation classes. | |
$scan | array | The paths to scan for annotations. |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public addAnnotationNamespace ( string $namespace, string $path = null ) | ||
$namespace | string | |
$path | string |
protected getClassesToScan ( ) : array | ||
리턴 | array |
protected getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader | ||
리턴 | Doctrine\Common\Annotations\SimpleAnnotationReader |
public registerAnnotationsPathWithRegistry ( string $path ) | ||
$path | string |
public setClassesToScan ( array $scans ) | ||
$scans | array |
protected string $namespaces | ||
리턴 | string |