/** * @param Site $site * * @return mixed */ static function getSiteOwnersContact($site) { $users = $site->users()->get(); $contact = collect(); foreach ($users as $user) { $contact->push('<a href="' . route('contact.model', ['user', $user->slug]) . '" title="contact me">' . Helper::navbarUsername($user) . '</a>'); } return $contact->implode(', '); }