Repo2\QueryReactor\Query\GenericQuery::__construct PHP Method

__construct() public method

public __construct ( Repo2\QueryBuilder\ExpressionInterface $expression, callable $onFulfill = null, callable $onReject = null )
$expression Repo2\QueryBuilder\ExpressionInterface
$onFulfill callable
$onReject callable
    public function __construct(ExpressionInterface $expression, callable $onFulfill = null, callable $onReject = null)
    {
        $this->expression = $expression;
        $this->onFulfill = $onFulfill;
        $this->onReject = $onReject;
    }