File/ClassFileLocator.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_File
Constants
\Zend_File_ClassFileLocator
Package: Zend\File
Parameters
Locate files containing PHP classes, interfaces, or abstracts
- Parent(s)
- \FilterIterator
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD {@link http://framework.zend.com/license/new-bsd}
Methods


__construct(string | \DirectoryIterator $dirOrIterator = '.') : void
Create an instance of the locator iterator
Expects either a directory, or a DirectoryIterator (or its recursive variant) instance.
Name | Type | Description |
---|---|---|
$dirOrIterator | string | \DirectoryIterator |


accept() : bool
Filter for files containing PHP classes, interfaces, or abstracts
Returns
Type | Description |
---|---|
bool |