The documentation you are viewing is for an older version of this component.
Switch to the latest (v4) version.
Install dotkernel/dot-annotated-services
by executing the following Composer command:
composer require dotkernel/dot-annotated-services