src/Listify.php
public function scopeInList(Builder $query)
    {
        return $query->listifyScope()->whereNotNull($this->getTable() . "." . $this->positionColumn());
    }
public function scopeInList(Builder $query)
    {
        return $query->listifyScope()->whereNotNull($this->getTable() . "." . $this->positionColumn());
    }
public function scopeInList ( Builder $ query ) { return $ query -> listifyScope ( ) -> whereNotNull ( $ this -> getTable ( ) . "." . $ this -> positionColumn ( ) ) ; }
Applies conditions to a query in order to retrieve only the records that are in a list.
Eloquent scope method.

@param Builder|QueryBuilder|Listify $query
@return Builder|QueryBuilder|Listify
Applies conditions to a query in order to retrieve only the records that are in a list . Eloquent scope method .