Exemplo n.º 1
0
 /**
  * Sets a logger instance on the object
  *
  * @param LoggerInterface $logger
  * @return null
  */
 public function setLogger(LoggerInterface $logger)
 {
     $this->logger = $logger;
     if ($this->ownedFactory) {
         $this->readerFactory->setLogger($logger);
     }
 }
Exemplo n.º 2
0
 /**
  * Sets a logger instance on the object
  *
  * @param LoggerInterface $logger
  * @return null
  */
 public function setLogger(LoggerInterface $logger)
 {
     $this->annotationReaderFactory->setLogger($logger);
 }