BumbleDocGen / Technical description of the project / Parser / Source locators / FileIteratorSourceLocator
FileIteratorSourceLocator class:
namespace BumbleDocGen\Core\Parser\SourceLocator;
final class FileIteratorSourceLocator extends \BumbleDocGen\Core\Parser\SourceLocator\BaseSourceLocator implements \BumbleDocGen\Core\Parser\SourceLocator\SourceLocatorInterface
Loads all files using an iterator
- # __construct | source code
public function __construct(\Iterator $fileInfoIterator);
Parameters:
Name | Type | Description |
---|---|---|
$fileInfoIterator | \Iterator | - |
- # getFinder | source code
// Implemented in BumbleDocGen\Core\Parser\SourceLocator\BaseSourceLocator
public function getFinder(): \Symfony\Component\Finder\Finder;
Parameters: not specified
Return value: \Symfony\Component\Finder\Finder