The documentation you are viewing is for an older version of this component.
Switch to the latest (v4) version.
After installation, register dot-annotated-services
in your project by adding the below line to your configuration aggregator (usually: config/config.php
):
Dot\AnnotatedServices\ConfigProvider::class,