src/Torann/RemoteModel/Model.php
protected static function registerModelEvent($event, $callback, $priority = 0)
    {
        $name = get_called_class();

        app('events')->listen("eloquent.{$event}: {$name}", $callback, $priority);
    }
protected static function registerModelEvent($event, $callback, $priority = 0)
    {
        $name = get_called_class();

        app('events')->listen("eloquent.{$event}: {$name}", $callback, $priority);
    }
protected static function registerModelEvent ( $ event , $ callback , $ priority = 0 ) { $ name = get_called_class ( ) ; app ( 'events' ) -> listen ( "eloquent.{$event}: {$name}" , $ callback , $ priority ) ; }
Register a model event with the dispatcher.

@param  string  $event
@param  \Closure|string  $callback
@param  int  $priority
@return void
Register a model event with the dispatcher .