update to PSR3 LoggerInterface per change in ruflin/elastica

This commit is contained in:
Anthon Pang 2013-05-30 16:26:16 +00:00
commit f374dbbaa2
2 changed files with 77 additions and 3 deletions

View file

@ -7,6 +7,8 @@ use Elastica\Request;
use FOS\ElasticaBundle\Logger\ElasticaLogger;
use PSR\Log\LoggerInterface;
/**
* @author Gordon Franke <info@nevalon.de>
*/
@ -17,7 +19,7 @@ class Client extends ElasticaClient
*/
protected $logger;
public function setLogger(ElasticaLogger $logger)
public function setLogger(LoggerInterface $logger)
{
$this->logger = $logger;
}