Zend Framework
3.0
|
Strategy used to discover methods to be considered as endpoints for dependency injection based on implemented interfaces, annotations and method names. More...
Public Member Functions | |
__construct (AnnotationManager $annotationManager=null) | |
Constructor. | |
getAnnotationManager () | |
Get annotation manager. | |
createDefaultAnnotationManager () | |
Create default annotation manager. | |
setUseAnnotations ($useAnnotations) | |
set use annotations | |
getUseAnnotations () | |
Get use annotations. | |
setMethodNameInclusionPatterns (array $methodNameInclusionPatterns) | |
Set method name inclusion pattern. | |
getMethodNameInclusionPatterns () | |
Get method name inclusion pattern. | |
setInterfaceInjectionInclusionPatterns (array $interfaceInjectionInclusionPatterns) | |
Set interface injection inclusion patterns. | |
getInterfaceInjectionInclusionPatterns () | |
Get interface injection inclusion patterns. | |
Protected Attributes | |
$useAnnotations = false | |
$methodNameInclusionPatterns = ['/^set[A-Z]{1}\w*/'] | |
$interfaceInjectionInclusionPatterns = ['/\w*Aware\w*/'] | |
$annotationManager = null | |
Strategy used to discover methods to be considered as endpoints for dependency injection based on implemented interfaces, annotations and method names.
__construct | ( | AnnotationManager | $annotationManager = null | ) |
Constructor.
null | AnnotationManager | $annotationManager |
createDefaultAnnotationManager | ( | ) |
Create default annotation manager.
getAnnotationManager | ( | ) |
Get annotation manager.
getInterfaceInjectionInclusionPatterns | ( | ) |
Get interface injection inclusion patterns.
getMethodNameInclusionPatterns | ( | ) |
Get method name inclusion pattern.
getUseAnnotations | ( | ) |
Get use annotations.
setInterfaceInjectionInclusionPatterns | ( | array | $interfaceInjectionInclusionPatterns | ) |
Set interface injection inclusion patterns.
array | $interfaceInjectionInclusionPatterns |
setMethodNameInclusionPatterns | ( | array | $methodNameInclusionPatterns | ) |
Set method name inclusion pattern.
array | $methodNameInclusionPatterns |
setUseAnnotations | ( | $useAnnotations | ) |
set use annotations
bool | $useAnnotations |
|
protected |
|
protected |
|
protected |
|
protected |