public function view(User $user, Contact $contact)
    {
        if ($user->canDo('contact.contact.view') && $user->isAdmin()) {
            return true;
        }
    }
public function view(User $user, Contact $contact)
    {
        if ($user->canDo('contact.contact.view') && $user->isAdmin()) {
            return true;
        }
    }
public function view ( User $ user , Contact $ contact ) { if ( $ user -> canDo ( 'contact.contact.view' ) && $ user -> isAdmin ( ) ) { return true ; } }
Determine if the given user can view the contact.

@param User $user
@param Contact $contact

@return bool
Determine if the given user can view the contact .