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