Locate files containing PHP classes, interfaces, abstracts or traits

package Default

 Methods

Create an instance of the locator iterator

__construct(string|\DirectoryIterator $dirOrIterator = '.'

Expects either a directory, or a DirectoryIterator (or its recursive variant) instance.

Parameters

$dirOrIterator

string\DirectoryIterator

Exceptions

\Zend\File\Exception\InvalidArgumentException

Filter for files containing PHP classes, interfaces, or abstracts

accept() : boolean

Returns

boolean