BumbleDocGen / Technical description of the project / Parser / Source locators / RecursiveDirectoriesSourceLocator
namespace BumbleDocGen\Core\Parser\SourceLocator;
final class RecursiveDirectoriesSourceLocator extends \BumbleDocGen\Core\Parser\SourceLocator\BaseSourceLocator implements \BumbleDocGen\Core\Parser\SourceLocator\SourceLocatorInterface
Loads all files from the specified directories, which are traversed recursively
- # __construct | source code
public function __construct(array $directories, array $exclude = [], bool $abortExecutionIfPartOfDirsNotExists = true);
Parameters:
Name | Type | Description |
---|---|---|
$directories | array | - |
$exclude | array | - |
$abortExecutionIfPartOfDirsNotExists | bool | - |
- # 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