Strategy used to discover methods to be considered as endpoints for dependency injection based on implemented interfaces, annotations and method names

package Default

 Methods

Constructor

__construct(null|\Zend\Code\Annotation\AnnotationManager $annotationManager = null

Parameters

$annotationManager

null\Zend\Code\Annotation\AnnotationManager

Create default annotation manager

createDefaultAnnotationManager() : \Zend\Code\Annotation\AnnotationManager

Returns

\Zend\Code\Annotation\AnnotationManager

Get annotation manager

getAnnotationManager() : null | \Zend\Code\Annotation\AnnotationManager

Returns

null\Zend\Code\Annotation\AnnotationManager

Get interface injection inclusion patterns

getInterfaceInjectionInclusionPatterns() : array

Returns

array

Get method name inclusion pattern

getMethodNameInclusionPatterns() : array

Returns

array

Get use annotations

getUseAnnotations() : boolean

Returns

boolean

Set interface injection inclusion patterns

setInterfaceInjectionInclusionPatterns(array $interfaceInjectionInclusionPatterns) 

Parameters

$interfaceInjectionInclusionPatterns

array

Set method name inclusion pattern

setMethodNameInclusionPatterns(array $methodNameInclusionPatterns) 

Parameters

$methodNameInclusionPatterns

array

set use annotations

setUseAnnotations(boolean $useAnnotations) 

Parameters

$useAnnotations

boolean

 Properties

 

$annotationManager

$annotationManager : \Zend\Code\Annotation\AnnotationManager

Default

null
 

$interfaceInjectionInclusionPatterns

$interfaceInjectionInclusionPatterns : array<mixed,string>

Default

array('/\w*Aware\w*/')
 

$methodNameInclusionPatterns

$methodNameInclusionPatterns : array<mixed,string>

Default

array('/^set[A-Z]{1}\w*/')
 

$useAnnotations

$useAnnotations : boolean

Default

false