Locate files containing PHP classes, interfaces, abstracts or traits

package Default

 Methods

Add class

addClass(string $class) : \Zend\File\PhpClassFile
fluent This method is part of a fluent interface and will return the same instance

Parameters

$class

string

Returns

\Zend\File\PhpClassFile

Add namespace

addNamespace(string $namespace) : \Zend\File\PhpClassFile
fluent This method is part of a fluent interface and will return the same instance

Parameters

$namespace

string

Returns

\Zend\File\PhpClassFile

Get classes

getClasses() : array

Returns

array

Get namespaces

getNamespaces() : array

Returns

array

 Properties

 

$classes

$classes : array

Default

array()
 

$namespaces

$namespaces : array

Default

array()