LoggerAwareInterface.php 297 B

123456789101112131415161718
  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. }