Define the relationship with the discussion's posts, but only ones which
are visible to the given user.
public postsVisibleTo ( |
||
$user | ||
Résultat | Illuminate\Database\Eloquent\Relations\HasMany |