The documentation you are viewing is for an older version of this component.
Switch to the latest (v6) version.
Version 4.x of dot-annotated-services is the last version that uses doctrine/annotations to parse and inject dependencies.
You can use it to: