[ Index ] |
PHP Cross Reference of YOURLS |
[Summary view] [Print] [Text view]
1 <?php 2 3 namespace Psr\Log; 4 5 /** 6 * Basic Implementation of LoggerAwareInterface. 7 */ 8 trait LoggerAwareTrait 9 { 10 /** 11 * The logger instance. 12 */ 13 protected ?LoggerInterface $logger = null; 14 15 /** 16 * Sets a logger. 17 */ 18 public function setLogger(LoggerInterface $logger): void 19 { 20 $this->logger = $logger; 21 } 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Apr 1 05:10:01 2025 | Cross-referenced by PHPXref 0.7.1 |