Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: implements Countable
Exemplo n.º 1
0
 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;
     }
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct([]);
 }