Closed
Description
Hey there,
following the documentation on https://symfony.com/doc/4.4/bundles/extension.html, I wanted to use the method addAnnotatedClassesToCompile
.
Then debugging the config with ./bin/console debug:config
delivers the following error:
PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\UndefinedMethodException: Attempted to call an undefined method named "addAnnotatedClassesToCompile" of class ...
Doing a grep search shows that the method is defined in symfony/http-kernel/DependencyInjection/Extension.php
not in symfony/dependency-injection/Extension/Extension.php
, that is used in the documentation.
Cheers,
Sebastian