DiscoveryLoader
in package
implements
LoaderInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $basePath : string
- $cache : CacheInterface|null
- $excludeDirs : array<string|int, mixed>
- $logger : LoggerInterface
- $scanDirs : array<string|int, mixed>
Methods
- __construct() : mixed
- load() : void
Properties
$basePath
private
string
$basePath
$cache
private
CacheInterface|null
$cache
= null
$excludeDirs
private
array<string|int, mixed>
$excludeDirs
$logger
private
LoggerInterface
$logger
$scanDirs
private
array<string|int, mixed>
$scanDirs
Methods
__construct()
public
__construct(string $basePath, array<string|int, string> $scanDirs, array<string|int, mixed>|array<string|int, string> $excludeDirs, LoggerInterface $logger[, CacheInterface|null $cache = null ]) : mixed
Parameters
- $basePath : string
- $scanDirs : array<string|int, string>
- $excludeDirs : array<string|int, mixed>|array<string|int, string>
- $logger : LoggerInterface
- $cache : CacheInterface|null = null
load()
public
load(RegistryInterface $registry) : void
Parameters
- $registry : RegistryInterface