|Collection */ public function getAllAccessibleByUser(User $user): Collection { if (License::isCommunity()) { return $user->playlists; } return $user->playlists->merge($user->collaboratedPlaylists); } }