com\setasign\SetaFramework\Di\Attribute

ApplicationLogger

File: /SetaFramework/src/Di/Attribute/ApplicationLogger.php

Class hierarchy

Implements

Summary

Properties

$ensureLogger

$loggerChannel


Methods

__construct()

public ApplicationLogger::__construct (
string $loggerChannel = 'default',
bool $ensureLogger = true
)
Parameters
$loggerChannel : string
 
$ensureLogger : bool
 

resolve()

public ApplicationLogger::resolve (
\com\setasign\SetaFramework\Di\Di $di,
array &$params
): ?\Psr\Log\LoggerInterface
Parameters
$di : \com\setasign\SetaFramework\Di\Di
 
$params : array