protected function fireEvent($event, $halt = true)
    {
        if (! isset(static::$dispatcher)) {
            return true;
        }

        $method = $halt ? 'until' : 'fire';

        return static::$dispatcher->{$method}(
            "admin.component.{$event}: " . static::class,
            $this
        );
    }
protected function fireEvent($event, $halt = true)
    {
        if (! isset(static::$dispatcher)) {
            return true;
        }

        $method = $halt ? 'until' : 'fire';

        return static::$dispatcher->{$method}(
            "admin.component.{$event}: " . static::class,
            $this
        );
    }
protected function fireEvent ( $ event , $ halt = true ) { if ( ! isset ( static :: $ dispatcher ) ) { return true ; } $ method = $ halt ? 'until' : 'fire' ; return static :: $ dispatcher -> { $ method } ( "admin.component.{$event}: " . static :: class , $ this ) ; }
Fire the given event for the component

@param string $event
@param bool $halt
@return bool
Fire the given event for the component