public function newCollection(array $models = [])
    {
        if (app(config('auth.providers.users.model'))->jumpGateCollections) {
            return new EloquentCollection($models);
        }

        return parent::newCollection($models);
    }
public function newCollection(array $models = [])
    {
        if (app(config('auth.providers.users.model'))->jumpGateCollections) {
            return new EloquentCollection($models);
        }

        return parent::newCollection($models);
    }
public function newCollection ( array $ models = [ ] ) { if ( app ( config ( 'auth.providers.users.model' ) ) -> jumpGateCollections ) { return new EloquentCollection ( $ models ) ; } return parent :: newCollection ( $ models ) ; }
Use the custom collection that allows tapping.

@param array $models An array of models to turn into a collection.

@return \Illuminate\Database\Eloquent\Collection OR \JumpGate\Database\Collections\EloquentCollection
Use the custom collection that allows tapping .