package Default
inherited_from \Zend\Code\Scanner\DirectoryScanner

 Methods

__construct()

__construct(null|string|array $directory = null
Inherited

Parameters

$directory

nullstringarray

__ToString

__toString() 
Inherited
todo implement method

addDirectory()

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

Parameters

$directory

\Zend\Code\Scanner\DirectoryScannerstring

Exceptions

\Zend\Code\Exception\InvalidArgumentException

addDirectoryScanner()

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

Parameters

$directoryScanner

\Zend\Code\Scanner\DirectoryScanner

addFileScanner()

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

Parameters

$fileScanner

\Zend\Code\Scanner\FileScanner

Export

export() 
InheritedStatic
todo implement method

getClass()

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

Parameters

$class

string

$returnScannerClass

boolean

$returnDerivedScannerClass

boolean

Exceptions

\Zend\Code\Exception\RuntimeException

Returns

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

getClass()

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

Parameters

$class

string

$returnDerivedScannerClass

boolean

Exceptions

\Zend\Code\Exception\InvalidArgumentException

Returns

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

getClassNames()

getClassNames() : array
Inherited

Returns

array

getClasses()

getClasses($returnScannerClass = false, boolean $returnDerivedScannerClass = false
inherited_from \Zend\Code\Scanner\DirectoryScanner::getClasses()

Parameters

$returnScannerClass

$returnDerivedScannerClass

getClasses()

getClasses(boolean $returnDerivedScannerClass = false) : array
Inherited

Parameters

$returnDerivedScannerClass

boolean

Returns

array

getFiles()

getFiles(boolean $returnFileScanners = false) : array
Inherited

Parameters

$returnFileScanners

boolean

Returns

array

getFunctions()

getFunctions(boolean $returnScannerClass = false

Parameters

$returnScannerClass

boolean

getIncludes()

getIncludes($returnScannerClass = false

Parameters

$returnScannerClass

getNamespaces()

getNamespaces(boolean $returnScannerClass = false
todo not implemented
inherited_from \Zend\Code\Scanner\DirectoryScanner::getNamespaces()

Parameters

$returnScannerClass

boolean

getNamespaces()

getNamespaces() 
Inherited
todo implement method

hasClass()

hasClass(string $class) : boolean
inherited_from \Zend\Code\Scanner\DirectoryScanner::hasClass()

Parameters

$class

string

Returns

boolean

hasClass()

hasClass(string $class) : boolean
Inherited

Parameters

$class

string

Returns

boolean

Create class to file scanner cache

createClassToFileScannerCache() : void
Inherited

scan()

scan() : void
Inherited

 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
inherited_from \Zend\Code\Scanner\DirectoryScanner::isScanned
 

$isScanned

$isScanned : boolean

Default

false