Skip to content

Commit

Permalink
Merged branch '4.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Jun 28, 2024
2 parents ca8e427 + 7d40748 commit 232ee8a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/contracts/Repository/LocationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,12 @@ public function loadLocations(ContentInfo $contentInfo, ?Location $rootLocation
* Loads children which are readable by the current user of a location object sorted by sortField and sortOrder.
*
* Use this method with caution. It performs heavy queries on the database.
* Consider using {@see \eZ\Publish\API\Repository\SearchService::findLocations()} with
* {@see \eZ\Publish\Core\QueryType\BuiltIn\ChildrenQueryType} as an alternative.
* Consider using {@see \Ibexa\Contracts\Core\Repository\SearchService::findLocations()} with
* {@see \Ibexa\Core\QueryType\BuiltIn\ChildrenQueryType} as an alternative.
*
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Location $location
* @param int $offset the start offset for paging
* @param int $limit the number of locations returned
* @param string[]|null $prioritizedLanguages Used as prioritized language code on translated properties of returned object.
*
* @return \Ibexa\Contracts\Core\Repository\Values\Content\LocationList
*/
public function loadLocationChildren(Location $location, int $offset = 0, int $limit = 25, ?array $prioritizedLanguages = null): LocationList;

Expand Down

0 comments on commit 232ee8a

Please sign in to comment.