eZ\Publish\Core\Search\Elasticsearch\Content\Handler::__construct PHP Method

__construct() public method

public __construct ( Gateway $gateway, Gateway $locationGateway, eZ\Publish\Core\Search\Elasticsearch\Content\MapperInterface $mapper, Extractor $extractor, $contentDocumentTypeIdentifier, $locationDocumentTypeIdentifier )
$gateway Gateway
$locationGateway Gateway
$mapper eZ\Publish\Core\Search\Elasticsearch\Content\MapperInterface
$extractor Extractor
    public function __construct(Gateway $gateway, Gateway $locationGateway, MapperInterface $mapper, Extractor $extractor, $contentDocumentTypeIdentifier, $locationDocumentTypeIdentifier)
    {
        $this->gateway = $gateway;
        $this->locationGateway = $locationGateway;
        $this->mapper = $mapper;
        $this->extractor = $extractor;
        $this->contentDocumentTypeIdentifier = $contentDocumentTypeIdentifier;
        $this->locationDocumentTypeIdentifier = $locationDocumentTypeIdentifier;
    }