public setLogger ( Psr\Log\LoggerInterface $logger ) | ||
$logger | Psr\Log\LoggerInterface |
public function setLogger(LoggerInterface $logger)
{
$this->_logger = $logger;
return $this;
}
public function testSetLogConfigEnable1() { $client = new Client(); $client->setLogger(new Log()); $this->assertFalse($client->getConfig('log')); }