private function loadLocation(int $locationId, array $languages = null): Location
    {
        return $this->repository->getLocationService()->loadLocation($locationId, $languages);
    }
private function loadLocation(int $locationId, array $languages = null): Location
    {
        return $this->repository->getLocationService()->loadLocation($locationId, $languages);
    }
private function loadLocation ( int $ locationId , array $ languages = null ) : Location { return $ this -> repository -> getLocationService ( ) -> loadLocation ( $ locationId , $ languages ) ; }
Loads a visible Location.

@param int $locationId
@param array|null $languages

@return \eZ\Publish\API\Repository\Values\Content\Location

@throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException
@throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
Loads a visible Location .