Drupal Test Helpers module API documentation - release 1.3.1

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

Methods

stubGetLogs()

Returns the array with all collected logs.

public stubGetLogs() : array<string|int, mixed>
Return values
array<string|int, mixed>

The array of logs.


        
On this page

Search results