remove redundant property/method
This commit is contained in:
parent
f374dbbaa2
commit
55edceadcb
1 changed files with 0 additions and 14 deletions
14
Client.php
14
Client.php
|
|
@ -5,25 +5,11 @@ namespace FOS\ElasticaBundle;
|
|||
use Elastica\Client as ElasticaClient;
|
||||
use Elastica\Request;
|
||||
|
||||
use FOS\ElasticaBundle\Logger\ElasticaLogger;
|
||||
|
||||
use PSR\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
* @author Gordon Franke <info@nevalon.de>
|
||||
*/
|
||||
class Client extends ElasticaClient
|
||||
{
|
||||
/**
|
||||
* @var ElasticaLogger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function setLogger(LoggerInterface $logger)
|
||||
{
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
public function request($path, $method = Request::GET, $data = array(), array $query = array())
|
||||
{
|
||||
$start = microtime(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue