Pinq\Providers\Collection\Provider::__construct PHP Method

__construct() public method

public __construct ( Pinq\ICollection $collection )
$collection Pinq\ICollection
    public function __construct(ICollection $collection)
    {
        parent::__construct(new Traversable\SourceInfo($collection), new Traversable\Provider($collection));
        $this->scheme = $collection->getIteratorScheme();
        $this->collection = $collection;
    }