public function has($relation, array $with = array())
    {
        $query = $this->make($with);

        return $query->has($relation)->get();
    }
public function has($relation, array $with = array())
    {
        $query = $this->make($with);

        return $query->has($relation)->get();
    }
public function has ( $ relation , array $ with = array ( ) ) { $ query = $ this -> make ( $ with ) ; return $ query -> has ( $ relation ) -> get ( ) ; }
Return items that have a defined relation

@param  string $relation
@param  array $with
@return \Illuminate\Database\Eloquent\Collection
Return items that have a defined relation