Pinq\Providers\DSL\Compilation\Parameters\ParameterCollectionBase::__construct PHP Method

__construct() public method

public __construct ( array $parameters )
$parameters array
    public function __construct(array $parameters)
    {
        $this->parameters = $parameters;
    }

Usage Example

 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;
     }
 }
All Usage Examples Of Pinq\Providers\DSL\Compilation\Parameters\ParameterCollectionBase::__construct