public function __construct(ICollection $collection) { parent::__construct(new Traversable\SourceInfo($collection), new Traversable\Provider($collection)); $this->scheme = $collection->getIteratorScheme(); $this->collection = $collection; }
public function __construct(Queries\ISourceInfo $sourceInfo, IRepositoryCompilerConfiguration $compilerConfiguration, QueryProvider $queryProvider, Configuration\IRepositoryConfiguration $configuration = null) { parent::__construct($sourceInfo, $queryProvider, $configuration); $this->compilerConfiguration = $compilerConfiguration; }