Using your extension class in the service provider

As you remember from the service provider section, in Part 2.a you need to instantiate the extension class. These lines would look like this:

$component = new \Acme\Component\Example\Administrator\Extension\ExampleComponent(
  $container->get(ComponentDispatcherFactoryInterface::class)
);

Simple, isn't it?