Example #1
0
 public function testSetLogger()
 {
     $this->assertSame($this->processor, $this->processor->setLogger($this->getMock('Psr\\Log\\LoggerInterface')));
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function setLogger(LoggerInterface $logger)
 {
     parent::setLogger($logger);
     $this->addSubscriber(new Logger($logger));
 }