public function __construct(Queries\ISourceInfo $sourceInfo, IQueryCompilerConfiguration $compilerConfiguration) { parent::__construct($sourceInfo, $compilerConfiguration->getQueryConfiguration()); $this->compilerConfiguration = $compilerConfiguration; }
public function __construct(ITraversable $traversable) { parent::__construct(new SourceInfo($traversable)); $this->scheme = $traversable->getIteratorScheme(); }