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

category Zend
package Zend_Di

 Methods

Constructor

__construct(\Zend\Code\Annotation\AnnotationManager $annotationManager) 

Parameters

Create default annotation manager

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

Get annotation manager

getAnnotationManager() : 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() : bool

Returns

bool

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(bool $useAnnotations) 

Parameters

$useAnnotations

bool

 Properties

 

$annotationManager

$annotationManager : \Zend\Code\Annotation\AnnotationManager

 

$interfaceInjectionInclusionPatterns

$interfaceInjectionInclusionPatterns : string[]

 

$methodNameInclusionPatterns

$methodNameInclusionPatterns : string[]

 

$useAnnotations

$useAnnotations : bool