eZ\Publish\Core\SignalSlot\Repository::getLocationService PHP Method

getLocationService() public method

Get service object to perform operations on Location objects and subtrees
public getLocationService ( ) : eZ\Publish\API\Repository\LocationService
return eZ\Publish\API\Repository\LocationService
    public function getLocationService()
    {
        if ($this->locationService !== null) {
            return $this->locationService;
        }
        $this->locationService = new LocationService($this->repository->getLocationService(), $this->signalDispatcher);
        return $this->locationService;
    }