public function __construct(Manager $fractal, TransformerAbstract $transformer, EloquentCollection $collection) { parent::__construct($fractal, $transformer); $this->collection = $collection; }
public function __construct(Manager $fractal, TransformerAbstract $transformer, Builder $query) { parent::__construct($fractal, $transformer); $this->query = $query; }