__construct()
addCodeScannerFile()
addDirectory()
addDirectoryScanner()
compile()
getClassSupertypes()
getClasses()
getInstantiator()
getIntrospectionStrategy()
getMethodParameters()
getMethods()
hasClass()
hasMethod()
hasMethodParameters()
hasMethods()
setAllowReflectionExceptions()
setIntrospectionStrategy()
toArrayDefinition()
processClass()
processParams()
$allowReflectionExceptions
$classes
$directoryScanner
$introspectionStrategy
$isCompiled
Class definitions based on a set of directories to be scanned
__construct(\Zend\Di\Definition\IntrospectionStrategy $introspectionStrategy)
null\Zend\Di\Definition\IntrospectionStrategy
addCodeScannerFile(\Zend\Code\Scanner\FileScanner $fileScanner)
\Zend\Code\Scanner\FileScanner
addDirectory(string $directory)
string
addDirectoryScanner(\Zend\Code\Scanner\DirectoryScanner $directoryScanner)
\Zend\Code\Scanner\DirectoryScanner
compile() : void
getClassSupertypes(string $class) : string[]
string
string[]
getClasses() : string[]
string[]
getInstantiator(string $class) : string | array
string
string
array
getIntrospectionStrategy() : \Zend\Di\Definition\IntrospectionStrategy
getMethodParameters(string $class, string $method) : array
Should return an ordered named array of parameters for a given method. Each value should be an array, of length 4 with the following information:
array( 0, // string|null: Type Name (if it exists) 1, // bool: whether this param is required 2, // string: fully qualified path to this parameter 3, // mixed: default value );
string
string
array
getMethods(string $class) : string[]
string
string[]
hasClass(string $class) : bool
string
bool
hasMethod(string $class, string $method) : bool
string
string
bool
hasMethodParameters($class, $method) : bool
bool
hasMethods(string $class) : bool
string
bool
setAllowReflectionExceptions(bool $allowReflectionExceptions)
bool
setIntrospectionStrategy(\Zend\Di\Definition\IntrospectionStrategy $introspectionStrategy)
\Zend\Di\Definition\IntrospectionStrategy
toArrayDefinition() : \Zend\Di\Definition\ArrayDefinition
processParams(array $def, \Zend\Code\Reflection\ClassReflection $rClass, \Zend\Code\Reflection\MethodReflection $rMethod)
array
$allowReflectionExceptions
$classes
$introspectionStrategy
$isCompiled