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]);
    }