Автор: Elliot Levin (elliotlevin@hotmail.com)
Наследование: implements Countable
Пример #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;
     }
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct([]);
 }