LoggerChannelFactoryStub
extends LoggerChannelFactory
in package
A stub of the Drupal's default LoggerChannelFactory class.
@package TestHelpers\DrupalServiceStubs
Table of Contents
Properties
- $staticLogger : StaticLogger
- A static logger instance.
Methods
- __construct() : mixed
- Constructs a new LoggerChannelFactory class.
- stubGetLogs() : array<string|int, mixed>
- Returns the array with all collected logs.
Properties
$staticLogger
A static logger instance.
protected
StaticLogger
$staticLogger
Methods
__construct()
Constructs a new LoggerChannelFactory class.
public
__construct() : mixed
stubGetLogs()
Returns the array with all collected logs.
public
stubGetLogs() : array<string|int, mixed>
Return values
array<string|int, mixed> —The array of logs.