public function indexLocation(Location $location)
    {
        $document = $this->mapper->mapLocation($location);

        $this->gateway->index($document);
    }
public function indexLocation(Location $location)
    {
        $document = $this->mapper->mapLocation($location);

        $this->gateway->index($document);
    }
public function indexLocation ( Location $ location ) { $ document = $ this -> mapper -> mapLocation ( $ location ) ; $ this -> gateway -> index ( $ document ) ; }
Indexes a Location in the index storage.

@param \eZ\Publish\SPI\Persistence\Content\Location $location
Indexes a Location in the index storage .