CollectFiles
in package
Table of Contents
- $fileCollector : FileCollector
- $logger : LoggerInterface
- __construct() : mixed
- __invoke() : Payload
- log() : void
- Dispatches a logging request.
Properties
$fileCollector
private
FileCollector
$fileCollector
$logger
private
LoggerInterface
$logger
Methods
__construct()
public
__construct(FileCollector $fileCollector, LoggerInterface $logger) : mixed
Parameters
- $fileCollector : FileCollector
- $logger : LoggerInterface
Return values
mixed —__invoke()
public
__invoke(Payload $payload) : Payload
Parameters
- $payload : Payload
Return values
Payload —log()
Dispatches a logging request.
private
log(string $message[, string $priority = LogLevel::INFO ][, array<string|int, string> $parameters = [] ]) : void
Parameters
- $message : string
- $priority : string = LogLevel::INFO
-
The logging priority as declared in the LogLevel PSR-3 class.
- $parameters : array<string|int, string> = []