/**
  * 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);
     }
 }
 /**
  * Sets a logger instance on the object
  *
  * @param LoggerInterface $logger
  * @return null
  */
 public function setLogger(LoggerInterface $logger)
 {
     $this->annotationReaderFactory->setLogger($logger);
 }