protected function setLogger(\Psr\Log\LoggerInterface $logger) { $this->logger = $logger; return $this; }