public function publicDelete($user, Event $event)
    {
        if ($event->creator->id == $user->id) {
            return User::findOrFail($user->id)->hasPermission('laralum::events.delete-public');
        }

        return false;
    }
public function publicDelete($user, Event $event)
    {
        if ($event->creator->id == $user->id) {
            return User::findOrFail($user->id)->hasPermission('laralum::events.delete-public');
        }

        return false;
    }
public function publicDelete ( $ user , Event $ event ) { if ( $ event -> creator -> id == $ user -> id ) { return User :: findOrFail ( $ user -> id ) -> hasPermission ( 'laralum::events.delete-public' ) ; } return false ; }
Determine if the current user can delete events on public views.

@param mixed $user

@return bool
Determine if the current user can delete events on public views .