eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Id\ParentContentType::loadParentLocation PHP Method

loadParentLocation() private method

private loadParentLocation ( $locationId ) : Location
return Location
    private function loadParentLocation($locationId)
    {
        return $this->repository->sudo(function (Repository $repository) use($locationId) {
            return $repository->getLocationService()->loadLocation($locationId);
        });
    }