Get all directories from the root source directory

@param array $queryParams
@return SourcesResponse
549036
public function getAll(array $queryParams = [])
    {
        $response = $this->api->sources()->getAll($queryParams);

        return new SourcesResponse($response);
    }
1332778
public static function fileGetContents(array $params = [])
    {
        /** @var string $toPath Path to get request from */
        /** @var array $clientParams parameters passed into client */
        /** @var \GuzzleHttp\Client $client */
        /** @var string $request_type request type */
        /** @var array $requestParams parameters to pass into request */
        /** @var string $request type of request */
        $parameters = new Collection();
        $parameters->addItems((array)Arrays::defaultAttributes([
            "toPath" => self::httpProtocol() . '://' . self::serverName() . '/',
            "clientParams" => [],
            "client" => "\\GuzzleHttp\\Client",
            "request" => "GET",
            "requestParams" => [],
        ], $params));

        $parameters->addItem(parse_url($parameters->getItem('toPath'), PHP_URL_SCHEME) . "://" . parse_url($parameters->getItem('toPath'), PHP_URL_HOST), 'base_uri');
        $parameters->setItem(array_merge($parameters->getItem('clientParams'), array('base_uri' => $parameters->getItem('base_uri'))), 'clientParams');
        if (is_string($parameters->getItem('client'))) {
            $client = $parameters->getItem('client');
            $parameters->setItem(new $client($parameters->getItem('clientParams')), 'client');
        }

        $path = substr($parameters->getItem('toPath'), strlen($parameters->getItem('base_uri')), strlen($parameters->getItem('toPath')));
        if (method_exists($parameters->getItem('client'), 'request')) {
            // For GuzzleHttp 6
            return $parameters->getItem('client')
                ->request($parameters->getItem('request'), $path, $parameters->getItem('requestParams'))
                ->getBody()
                ->getContents();
        } elseif (method_exists($parameters->getItem('client'), 'createRequest')) {
            // for GuzzleHttp 5.3
            $request = $parameters->getItem('client')
                ->createRequest($parameters->getItem('request'), $path, $parameters->getItem('requestParams'));
            return $parameters->getItem('client')->send($request)->getBody();
        } else {
          throw new FileGetContentsException('The client must be an instance of \\GuzzleHttp\\Client');
        }
    }
1267540
public function deleteAll(array $queryParams = [])
    {
        $response = $this->api->callbacks()->deleteAll($queryParams);

        return new BaseResponse($response);
    }
246929
public function getAssetList(array $queryParams = [])
    {
        $propertyList = $this->_getEntityList('Assets', $queryParams);
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = Asset::createFromOptions($properties);
        }

        return $result;
    }
442181
protected function getClientParams( array $params, array $prefixes = array( 'f', 'l', 'd', 'a' ) )
	{
		if( isset( $params['d_prodid'] ) || isset( $params['d_name'] ) )
		{
			$context = $this->getContext();
			$site = $context->getLocale()->getSite()->getCode();
			$params += (array) $context->getSession()->get( 'aimeos/catalog/lists/params/last/' . $site, [] );
		}

		return parent::getClientParams( $params, $prefixes );
	}
179459
public function getAll(array $queryParams = [])
    {
        $response = $this->api->callbacks()->getAll($queryParams);

        return new CallbacksResponse($response);
    }
185896
public function getAll(array $queryParams = [])
    {
        $response = $this->api->applications()->getAll($queryParams);

        return new ApplicationsResponse($response);
    }
569470
public function getAll($appId, $scanId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->sources()
            ->getAll($appId, $scanId, $queryParams);

        return new SourcesResponse($response);
    }
1197477
public function getLocatorList(array $queryParams = [])
    {
        $propertyList = $this->_getEntityList('Locators', $queryParams);
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = Locator::createFromOptions($properties);
        }

        return $result;
    }
601097
protected function generateQueryParams(array $queryParamsMap): string
    {
        $queryStringParams = '';
        foreach ($queryParamsMap as $paramMap) {
            if ($paramMap['value']) {
                $format = is_int($paramMap['value']) ? '%d' : '%s';
                $queryStringParams .= sprintf('&%s='.$format, $paramMap['key'], $paramMap['value']);
            }
        }

        return $queryStringParams ? '?'.substr($queryStringParams, 1) : '';
    }
1147436
public function queryProcessing($queryParams) 
    {
        list($this->query, $this->totalQuery, $this->filterQuery)
            = self::processQuery($this->query, $queryParams);

        $this->countTotal = Util::get($queryParams, 'countTotal', false);
        $this->countFilter = Util::get($queryParams, 'countFilter', false);

        return $this;
    }
714600
public function addReplaceQueryParameters(array $queryParams)
        {
            $queryParams = array_merge($this->getQueryAsArray(), $queryParams);

            return $this->setQuery($queryParams);
        }
1318790
public function getAll(array $queryParams = [])
    {
        $response = $this->api->settings()->getAll($queryParams);

        return new SettingsResponse($response);
    }
828280
public function addQueryParams(array $queryParams)
    {
        $this->data['query'] = array_merge(Helper::getValue($this->data['query'], []), $queryParams);
        $this->data['query'] = array_filter($this->data['query']);
        return $this;
    }
931542
private function buildQueryUrl($params)
    {
        $url = parse_url($_SERVER['REQUEST_URI']);
        if (! array_key_exists('query', $url)) {
            $url['query'] = '';
        }
        parse_str($url['query'], $url['query']);
        if (! is_array($url['query'])) {
            $url['query'] = array();
        }
        // Remove 'start parameter if it exists
        if (array_key_exists('start', $url['query'])) {
            unset($url['query']['start']);
        }
        // Add extra parameters from argument
        $url['query'] = array_merge($url['query'], $params);
        $url['query'] = http_build_query($url['query']);
        $url = $url['path'] . ($url['query'] ? '?'.$url['query'] : '');
        
        return $url;
    }
364688
public function getByKey($key, array $queryParams = [])
    {
        $response = $this->client->get($this->uri($key), [
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
973903
public function getAll(array $queryParams = [])
    {
        $response = $this->api->oauth2()->clients()->getAll($queryParams);

        return new ClientsResponse($response);
    }