package Default

 Methods

__construct()

__construct(null|string|array $directory = null

Parameters

$directory

nullstringarray

__ToString

__toString() 
todo implement method

addDirectory()

addDirectory(\Zend\Code\Scanner\DirectoryScanner|string $directory) : void

Parameters

$directory

\Zend\Code\Scanner\DirectoryScannerstring

Exceptions

\Zend\Code\Exception\InvalidArgumentException

addDirectoryScanner()

addDirectoryScanner(\Zend\Code\Scanner\DirectoryScanner $directoryScanner) : void

Parameters

$directoryScanner

\Zend\Code\Scanner\DirectoryScanner

addFileScanner()

addFileScanner(\Zend\Code\Scanner\FileScanner $fileScanner) : void

Parameters

$fileScanner

\Zend\Code\Scanner\FileScanner

Export

export() 
Static
todo implement method

getClass()

getClass(string $class, boolean $returnDerivedScannerClass = false) : \Zend\Code\Scanner\ClassScanner | \Zend\Code\Scanner\DerivedClassScanner

Parameters

$class

string

$returnDerivedScannerClass

boolean

Exceptions

\Zend\Code\Exception\InvalidArgumentException

Returns

\Zend\Code\Scanner\ClassScanner\Zend\Code\Scanner\DerivedClassScanner

getClassNames()

getClassNames() : array

Returns

array

getClasses()

getClasses(boolean $returnDerivedScannerClass = false) : array

Parameters

$returnDerivedScannerClass

boolean

Returns

array

getFiles()

getFiles(boolean $returnFileScanners = false) : array

Parameters

$returnFileScanners

boolean

Returns

array

getNamespaces()

getNamespaces() 
todo implement method

hasClass()

hasClass(string $class) : boolean

Parameters

$class

string

Returns

boolean

Create class to file scanner cache

createClassToFileScannerCache() : void

scan()

scan() : void

 Properties

 

$classToFileScanner

$classToFileScanner : array

Default

null
 

$directories

$directories : array<mixed,string> | array<mixed,\Zend\Code\Scanner\DirectoryScanner>

Default

array()
 

$fileScanners

$fileScanners : array<mixed,\Zend\Code\Scanner\FileScanner>

Default

array()
 

$isScanned

$isScanned : boolean

Default

false