__construct() public method

public __construct ( array $parameters )
$parameters array
 public function __construct(array $parameters, Queries\IResolvedParameterRegistry $resolvedParameters)
 {
     parent::__construct($parameters);
     $this->resolvedParameters = $resolvedParameters;
     $this->resolvedValues = new \SplObjectStorage();
     foreach ($this->parameters as $parameter) {
         $value = $parameter->evaluate($this->resolvedParameters, $hash);
         $this->resolvedValues[$parameter] = $value;
         $this->resolvedValuesArray[] = $value;
         $this->hashes[] = $hash;
     }
 }
Example #2
0
 public function __construct()
 {
     parent::__construct([]);
 }