ModulesFinder
in package
Class ModulesFinder
Tags
Table of Contents
- $configFinder : ConfigurationFinder
- $path : Path
- __construct() : mixed
- ModulesFinder constructor.
- findModules() : array<string|int, mixed>
- Returns a list of all gx modules.
- checkIncludeFlagInGXModuleJson() : bool
- vendorsModules() : array<string|int, mixed>
- Returns a list of modules for the given vendor dir.
Properties
$configFinder
private
ConfigurationFinder
$configFinder
$path
private
Path
$path
Methods
__construct()
ModulesFinder constructor.
public
__construct(Path $path, ConfigurationFinder $configFinder) : mixed
Parameters
- $path : Path
- $configFinder : ConfigurationFinder
Return values
mixed —findModules()
Returns a list of all gx modules.
public
findModules() : array<string|int, mixed>
Return values
array<string|int, mixed> —checkIncludeFlagInGXModuleJson()
private
checkIncludeFlagInGXModuleJson(DirectoryIterator $module) : bool
Parameters
- $module : DirectoryIterator
Return values
bool —vendorsModules()
Returns a list of modules for the given vendor dir.
private
vendorsModules(string $vendorDir) : array<string|int, mixed>
Parameters
- $vendorDir : string