ParseGuides
in package
FinalYes
Table of Contents
Properties
- $commandBus : CommandBus
- $eventDispatcher : EventDispatcherInterface
- $flySystemFactory : FlySystemFactory
- $logger : LoggerInterface
Methods
- __construct() : mixed
- __invoke() : Payload
- log() : void
- Dispatches a logging request.
Properties
$commandBus read-only
private
CommandBus
$commandBus
$eventDispatcher read-only
private
EventDispatcherInterface
$eventDispatcher
$flySystemFactory read-only
private
FlySystemFactory
$flySystemFactory
$logger read-only
private
LoggerInterface
$logger
Methods
__construct()
public
__construct(CommandBus $commandBus, LoggerInterface $logger, FlySystemFactory $flySystemFactory, EventDispatcherInterface|EventDispatcher $eventDispatcher) : mixed
Parameters
- $commandBus : CommandBus
- $logger : LoggerInterface
- $flySystemFactory : FlySystemFactory
- $eventDispatcher : EventDispatcherInterface|EventDispatcher
__invoke()
public
__invoke(Payload $payload) : Payload
Parameters
- $payload : Payload
Return values
Payloadlog()
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> = []