PHP Class Pheasant\Migrate\Enumerator

Inheritance: implements IteratorAggregate
Show file Open project: lox/pheasant

Public Methods

Method Description
__construct ( $dir ) Constructor
getIterator ( )

Private Methods

Method Description
_getClassFiles ( $file ) Parses PHP and gets Namespaces and Classes
_getDomainObjectsFromFile ( $file ) Finds classes that extend \Pheasant\DomainObject

Method Details

__construct() public method

Constructor
public __construct ( $dir )

getIterator() public method

public getIterator ( )