Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHPDoc] Fixed LocationService::loadLocationChildren doc #395

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading