src/Stevemo/Cpanel/User/Repo/UserRepository.php
public function delete($id)
    {
        $user = $this->findById($id);
        $eventData = $user;
        $user->delete();
        $this->event->fire('users.delete', array($eventData));
    }
public function delete($id)
    {
        $user = $this->findById($id);
        $eventData = $user;
        $user->delete();
        $this->event->fire('users.delete', array($eventData));
    }
public function delete ( $ id ) { $ user = $ this -> findById ( $ id ) ; $ eventData = $ user ; $ user -> delete ( ) ; $ this -> event -> fire ( 'users.delete' , array ( $ eventData ) ) ; }
Delete the user

@author Steve Montambeault
@link   http://stevemo.ca

@param int $id

@return void
Delete the user