Du vil gerne returnere et forespørgselsobjekt.
public function properties()
{
if ($this->isAdmin()) {
return Property::query();
} elseif ($this->isManager() || $this->isBroker()) {
return $this->belongsToMany('App\Property');
}
return null;
}