Pinq\Queries\Query::__construct PHP Method

__construct() public method

public __construct ( Pinq\Queries\IScope $scope, array $queryParameters )
$scope Pinq\Queries\IScope
$queryParameters array
    public function __construct(IScope $scope, array $queryParameters)
    {
        $this->scope = $scope;
        $this->parameters = new ParameterRegistry(array_merge($scope->getParameters(), $queryParameters));
    }