public static function findPhakefileParts($folder)
    {
        $result = array();

        $dir = new DirectoryIterator($folder);
        $regex = new RegexIterator($dir, '/\.php$/');
        foreach ($regex as $item) {
            $result[] = $item->getRealpath();
        }

        return $result;
    }
public static function findPhakefileParts($folder)
    {
        $result = array();

        $dir = new DirectoryIterator($folder);
        $regex = new RegexIterator($dir, '/\.php$/');
        foreach ($regex as $item) {
            $result[] = $item->getRealpath();
        }

        return $result;
    }
public static function findPhakefileParts ( $ folder ) { $ result = array ( ) ; $ dir = new DirectoryIterator ( $ folder ) ; $ regex = new RegexIterator ( $ dir , '/\.php$/' ) ; foreach ( $ regex as $ item ) { $ result [ ] = $ item -> getRealpath ( ) ; } return $ result ; }
Find Phakefile parts

Find all Phakefiles in a given folder

@param  string $folder Folder path
@return array List of found files
Find Phakefile parts