LoggerAwareInterface
interface LoggerAwareInterface implements LoggerAwareInterface
Interface for logger aware.
Methods
bool
hasLogger()
Returns true if a logger instance is set.
LoggerInterface|null
getLogger()
Returns a logger instance or null.
$this
setLogger(
LoggerInterface $logger = null)
Sets logger instance.
Details
at line line 27
bool
hasLogger()
Returns true if a logger instance is set.
at line line 34
LoggerInterface|null
getLogger()
Returns a logger instance or null.
at line line 43
$this
setLogger(
LoggerInterface $logger = null)
Sets logger instance.