Dumps the parameters depencies mapping

@return array
356957
public function dumpParameters()
    {
        $parameters = [];

        foreach ($this->parameters as $parameterName => $parameterValue) {
            $parameters[$parameterName] = [
                'value'      => $parameterValue
            ];
        }

        return $parameters;
    }
917761
public function writeData(): array
    {
        $dataBuilder = new DataBuilder();
        $dataBuilder->setString('n', $this->name, '')
                    ->setArray('t', $this->titles->writeData(), null, [])
                    ->setArray('d', $this->descriptions->writeData(), null, [])
                    ->setString('a', $this->author, '')
                    ->setString('v', $this->version, '')
                    ->setString('f', $this->fileName, '')
                    ->setString('i', $this->directoryName, '')
                    ->setArray('e', $this->dependencies, function (Dependency $dependency): array {
                        return $dependency->writeData();
                    }, [])
                    ->setString('h', $this->thumbnailHash, '')
                    ->setString('s', $this->checksum, '')
                    ->setInteger('o', $this->order, 0)
                    ->setArray('c', array_values(array_unique($this->combinationHashes)), 'strval', []);
        return $dataBuilder->getData();
    }
360057
function dump() {
		$fw=Base::instance();
		$web=Web::instance();
		$out='';
		return ($req=$web->request(
			self::URL_Static.'?'.array_reduce(
				$this->query,
				function($out,$item) {
					return ($out.=($out?'&':'').
						urlencode($item[0]).'='.urlencode($item[1]));
				}
			))) && $req['body']?$req['body']:FALSE;
	}
107755
public function dump()
    {
        $dump = [];
        if ($this->hasClasses()) {
            foreach ($this->classes as $class) {
                $dump[$class->getName()] = $class->dump();
            }
        }
        return $dump;
    }
742175
private function compileAllParameters()
    {
        foreach (array_keys($this->raw_parameters) as $section) {
            $this->parameters[$section] = $this->compileParameters($section);
        }

        return $this->parameters;
    }
222414
public function dump()
    {
        $dump = [];
        if ($this->hasParameters()) {
            foreach ($this->parameters as $parameter) {
                $dump[$parameter->getName()] = $parameter->dump();
            }
        }
        return $dump;
    }
800966
public function formatDependencies()
    {
        $variablesVariable = $this->getOption('pug_variables_variable_name');

        $dependencies = $variablesVariable ? implode("\n", [
            '<?php',
            '$'.$variablesVariable.' = [];',
            'foreach (array_keys(get_defined_vars()) as $__pug_key) {',
            '    $'.$variablesVariable.'[$__pug_key] = &$$__pug_key;',
            '}',
            '?>',
        ]) : '';

        if ($this->dependencies->countRequiredDependencies() > 0) {
            $dependenciesExport = $this->dependencies->export(
                $this->getOption('dependencies_storage')
            );

            $dependencies .= $this->format(new CodeElement(trim($dependenciesExport)));
        }

        foreach ($this->mixins->getRequirementsStates() as $key => $value) {
            if ($value || $this->mixinsAllRequired || in_array($key, $this->mixinsPreCalled)) {
                $dependencies .= $this->mixins->get($key);
            }
        }

        return $dependencies;
    }
1153916
protected static function getAllParams() {
        if ($_SERVER['REQUEST_METHOD'] == 'PUT' || $_SERVER['REQUEST_METHOD'] == 'DELETE') {

            $input = file_get_contents('php://input');

            $encoded_data = array();

            if (isset($_SERVER['CONTENT_TYPE'])) {
                switch ($_SERVER['CONTENT_TYPE']) {
                    case 'application/x-www-form-urlencoded':
                        parse_str($input, $encoded_data);
                        break;
                    case 'application/json':
                        $encoded_data = json_decode($input);
                        break;
                    default :
                        $encoded_data = parse_raw_http_request($input);
                        break;
                }
            }

            if ($encoded_data) {
                foreach ($encoded_data as $key => $val) {
                    $_REQUEST[$key] = $val;
                }
            }
        }

        return $_REQUEST;
    }
572158
private function dumpStructure() {
    dump("Requesters:");
    dump($this->requesters);

    dump("Request roots:");
    dump($this->requestRoots);

    dump("Request paths:");
    dump($this->requestPaths);

    dump("Local names:");
    dump($this->localNames);

    if (isset($this->tree)) {
      dump("Containment tree:");
      dump($this->tree);
    }
  }
425172
private function getDumpChecksum()
    {
        $dumpName = $this->getDumpName();
        $checksum = $this->getChecksum();

        return array_key_exists($dumpName, $checksum)? $checksum[$dumpName] : array();
    }
1257662
protected function getParametersFile()
    {
        $file_name = $this->appDir . '/config/' . self::PARAMETERS_FILE . '.php';
        if (!file_exists($file_name)) {
            return [];
        }

        if (null === $this->parameters) {
            foreach (require($file_name) as $k => $v) {
                $this->parameters["%{$k}%"] = $v;
            }
        }
        return $this->parameters;
    }
1084563
protected function getSourceParams()
    {
        $params = [];
        if (Injector::inst()->has(HTTPRequest::class)) {
            /** @var HTTPRequest $request */
            $request = Injector::inst()->get(HTTPRequest::class);
            $params = $request->param('filters') ?: $request->requestVar('filters') ?: [];
        }

        $this->extend('updateSourceParams', $params);

        return $params;
    }
146389
protected function getRiskParamsStructure()
    {
        return [
            'ssn'           => $this->risk_ssn,
            'mac_address'   => $this->risk_mac_address,
            'session_id'    => $this->risk_session_id,
            'user_id'       => $this->risk_user_id,
            'user_level'    => $this->risk_user_level,
            'email'         => $this->risk_email,
            'phone'         => $this->risk_phone,
            'remote_ip'     => $this->risk_remote_ip,
            'serial_number' => $this->risk_serial_number,
            'pan_tail'      => $this->risk_pan_tail,
            'bin'           => $this->risk_bin,
            'first_name'    => $this->risk_first_name,
            'last_name'     => $this->risk_last_name,
            'country'       => $this->risk_country,
            'pan'           => $this->risk_pan,
            'forwarded_ip'  => $this->risk_forwarded_ip,
            'username'      => $this->risk_username,
            'password'      => $this->risk_password,
            'bin_name'      => $this->risk_bin_name,
            'bin_phone'     => $this->risk_bin_phone
        ];
    }
276710
private function formatParams() {

		$params = [];

		//Params
		foreach($this -> params as $param) {

			$key  	= $param -> encode ? urlencode($param -> key) : $param -> key;
			$value 	= $param -> encode ? urlencode($param -> value) : $param -> value;

			$params[$key] = $value;
		}

		//Files
		foreach($this -> files as $file) {
			
			if(function_exists('curl_file_create')) {
				$value = curl_file_create($file -> file -> entity() -> getBasepath());
			} 
			else { 
			  	$value = '@' . realpath($file -> file -> entity() -> getBasepath());
			}

			$params[$file -> name] = $value;
		}

		return $params;
	}
46882
public function getParameters()
    {
        $lastIndent = null;
        $parameters = array();

        if ($parameterComment = $this->getParametersComment()) {
            $parameterLines = explode("\n", $parameterComment);
            foreach ($parameterLines as $line) {
                if (empty($line)) {
                    continue;
                }

                $lineParts = explode(' - ', $line);

                $name = trim(array_shift($lineParts));

                $description = '';
                if (!empty($lineParts)) {
                    $description = trim(implode(' - ', $lineParts));
                }
                $parameter = new Parameter($name, $description);

                $parameters[] = $parameter;
            }
        }

        return $parameters;
    }
1296164
public function get_params_rawencoded() {
        $params = $this->get_params();
        $encoded = array();
        $encoded[] = 'contextid=' . $params['contextid'];
        $encoded[] = 'component=' . $params['component'];
        $encoded[] = 'filearea=' . $params['filearea'];
        $encoded[] = 'itemid=' . (is_null($params['itemid']) ? -1 : $params['itemid']);
        $encoded[] = 'filepath=' . (is_null($params['filepath']) ? '' : rawurlencode($params['filepath']));
        $encoded[] = 'filename=' . ((is_null($params['filename']) or $params['filename'] === '.') ? '' : rawurlencode($params['filename']));

        return $encoded;
    }
607592
def dump(self):
        
        params = {
            'where': self._where,
        }
        if self._include:
            params['include'] = ','.join(self._include)
        if self._select:
            params['keys'] = ','.join(self._select)
        if self._include_acl is not None:
            params['returnACL'] = json.dumps(self._include_acl)
        if self._limit >= 0:
            params['limit'] = self._limit
        if self._skip > 0:
            params['skip'] = self._skip
        if self._order:
            params['order'] = ",".join(self._order)
        params.update(self._extra)
        return params