Locate files containing PHP classes, interfaces, abstracts or traits

category Zend
package Zend_File

 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() : bool

Returns

bool

current()

current() 

inherited_from FilterIterator::current()

getInnerIterator()

getInnerIterator() 

inherited_from FilterIterator::getInnerIterator()

key()

key() 

inherited_from FilterIterator::key()

rewind()

rewind() 

inherited_from FilterIterator::rewind()

valid()

valid() 

inherited_from FilterIterator::valid()