LoggerAwareInterface.php 288 B

1234567891011121314151617
  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. * @return null
  13. */
  14. public function setLogger(LoggerInterface $logger);
  15. }