Reading the installation instructions on symfony.com and in the own repo docs (which is referenced by the symfony webpage) it says to add the following code to app/autoload.php:
use Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver;
AnnotationDriver::registerAnnotationClasses();
I've just discovered that my application is running without this code about two years. Is this call still necessary? What this does?