You are here

public function Parameters::fromString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/Parameters.php \Zend\Stdlib\Parameters::fromString()

Populate from query string

Parameters

string $string:

Return value

void

Overrides ParametersInterface::fromString

File

vendor/zendframework/zend-stdlib/src/Parameters.php, line 49

Class

Parameters

Namespace

Zend\Stdlib

Code

public function fromString($string) {
  $array = [];
  parse_str($string, $array);
  $this
    ->fromArray($array);
}