LoggerAwareInterface.php 297B

12345678910111213141516171819
  1. <?php
  2. namespace Psr\Log;
  3. /**
  4. * Describes a logger-aware instance.
  5. */
  6. interface LoggerAwareInterface
  7. {
  8. /**
  9. * Sets a logger instance on the object.
  10. *
  11. * @param LoggerInterface $logger
  12. *
  13. * @return void
  14. */
  15. public function setLogger(LoggerInterface $logger);
  16. }