src/ExtendedRepository.php
protected function convertScopesToCriteriaArray()
    {
        $scopes = [];

        foreach ($this->scopes as $scope) {

            if (array_key_exists($scope, $this->scopeParameters) && ! empty($this->scopeParameters[ $scope ])) {

                $scopes[] = [ $scope, $this->scopeParameters[ $scope ] ];
                continue;
            }

            $scopes[] = [ $scope, [] ];
        }

        return $scopes;
    }
protected function convertScopesToCriteriaArray()
    {
        $scopes = [];

        foreach ($this->scopes as $scope) {

            if (array_key_exists($scope, $this->scopeParameters) && ! empty($this->scopeParameters[ $scope ])) {

                $scopes[] = [ $scope, $this->scopeParameters[ $scope ] ];
                continue;
            }

            $scopes[] = [ $scope, [] ];
        }

        return $scopes;
    }
protected function convertScopesToCriteriaArray ( ) { $ scopes = [ ] ; foreach ( $ this -> scopes as $ scope ) { if ( array_key_exists ( $ scope , $ this -> scopeParameters ) && ! empty ( $ this -> scopeParameters [ $ scope ] ) ) { $ scopes [ ] = [ $ scope , $ this -> scopeParameters [ $ scope ] ] ; continue ; } $ scopes [ ] = [ $ scope , [ ] ] ; } return $ scopes ; }
Converts the tracked scopes to an array that the Scopes Common Criteria will eat.

@return array
Converts the tracked scopes to an array that the Scopes Common Criteria will eat .