eZ\Publish\Core\SignalSlot\LocationService::getLocationChildCount PHP Method

getLocationChildCount() public method

Returns the number of children which are readable by the current user of a location object.
public getLocationChildCount ( eZ\Publish\API\Repository\Values\Content\Location $location ) : integer
$location eZ\Publish\API\Repository\Values\Content\Location
return integer
    public function getLocationChildCount(Location $location)
    {
        return $this->service->getLocationChildCount($location);
    }