19 lines
303 B
PHP
19 lines
303 B
PHP
|
<?php
|
||
|
|
||
|
namespace Psr\Log;
|
||
|
|
||
|
/**
|
||
|
* Describes a logger-aware instance.
|
||
|
*/
|
||
|
interface LoggerAwareInterface
|
||
|
{
|
||
|
/**
|
||
|
* Sets a logger instance on the object.
|
||
|
*
|
||
|
* @param LoggerInterface $logger
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function setLogger(LoggerInterface $logger): void;
|
||
|
}
|