Skip to content

Latest commit

 

History

History
120 lines (76 loc) · 2.89 KB

RecursiveDirectoriesSourceLocator.md

File metadata and controls

120 lines (76 loc) · 2.89 KB

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

Initialization methods:

  1. __construct

Methods:

  1. getFinder

Method details:

public function __construct(array $directories, array $exclude = [], bool $abortExecutionIfPartOfDirsNotExists = true);

Parameters:

Name Type Description
$directories array -
$exclude array -
$abortExecutionIfPartOfDirsNotExists bool -

// Implemented in BumbleDocGen\Core\Parser\SourceLocator\BaseSourceLocator

public function getFinder(): \Symfony\Component\Finder\Finder;

Parameters: not specified

Return value: \Symfony\Component\Finder\Finder