Phosphorum\Search\Indexer::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $this->logger = $this->getDI()->get('logger', ['indexer']);
        $config = $this->getDI()->getShared('config');
        $this->config = $config->get('elasticsearch', new Config());
        $this->client = $this->getDI()->getShared('elastic');
    }