protected function fireEvent(string $name, array $options, string $type = 'started'): void
    {
        $this->dispatcher->dispatch("extension.{$type}", [$name, $options]);
        $this->dispatcher->dispatch("extension.{$type}: {$name}", [$options]);
    }
protected function fireEvent(string $name, array $options, string $type = 'started'): void
    {
        $this->dispatcher->dispatch("extension.{$type}", [$name, $options]);
        $this->dispatcher->dispatch("extension.{$type}: {$name}", [$options]);
    }
protected function fireEvent ( string $ name , array $ options , string $ type = 'started' ) : void { $ this -> dispatcher -> dispatch ( "extension.{$type}" , [ $ name , $ options ] ) ; $ this -> dispatcher -> dispatch ( "extension.{$type}: {$name}" , [ $ options ] ) ; }
Fire events.

@param  string  $name
@param  array   $options
@param  string  $type

@return void
Fire events .