src/Models/User.php
public function beforeDelete()
    {
        $this->invites()->sync(array());
        $this->deletePages();
        $this->deletePosts();
        $this->deleteEvents();
        $this->deleteComments();
    }
public function beforeDelete()
    {
        $this->invites()->sync(array());
        $this->deletePages();
        $this->deletePosts();
        $this->deleteEvents();
        $this->deleteComments();
    }
public function beforeDelete ( ) { $ this -> invites ( ) -> sync ( array ( ) ) ; $ this -> deletePages ( ) ; $ this -> deletePosts ( ) ; $ this -> deleteEvents ( ) ; $ this -> deleteComments ( ) ; }
Before deleting an existing model.

@return mixed
Before deleting an existing model .