Jarves\Controller\NestedObjectCrudController::getBranchChildrenCountAction PHP Метод

getBranchChildrenCountAction() публичный Метод

public getBranchChildrenCountAction ( Request $request, string $scope = null, string $filter = null ) : array
$request Symfony\Component\HttpFoundation\Request
$scope string
$filter string
Результат array
    public function getBranchChildrenCountAction(Request $request, $scope = null, $filter = null)
    {
        $primaryKey = $this->extractPrimaryKey($request);
        if ($primaryKey) {
            return $this->getBranchChildrenCount($primaryKey, $scope, $filter);
        } else {
            return $this->getBranchChildrenCount(null, $scope, $filter);
        }
    }