public function subscribe()
    {
        foreach (static::$eventHandlerMap as $eventName => $handler) {
            $this->events->listen($eventName, [$this, $handler]);
        }
    }
public function subscribe()
    {
        foreach (static::$eventHandlerMap as $eventName => $handler) {
            $this->events->listen($eventName, [$this, $handler]);
        }
    }
public function subscribe ( ) { foreach ( static :: $ eventHandlerMap as $ eventName => $ handler ) { $ this -> events -> listen ( $ eventName , [ $ this , $ handler ] ) ; } }
Attach all event handlers.
Attach all event handlers .