LazyRecord\CollectionFilter\CollectionFilter::__construct PHP Method

__construct() public method

public __construct ( BaseCollection $collection )
$collection LazyRecord\BaseCollection
    public function __construct(BaseCollection $collection)
    {
        $this->collection = $collection;
        $this->schema = $collection->getSchema();
    }