I tried to achive the tutorial, but I get the following error :
ContextErrorException in DunglasApiParser.php line 51:
Catchable Fatal Error: Argument 2 passed to Nelmio\ApiDocBundle\Parser\DunglasApiParser::__construct() must be an instance of Dunglas\ApiBundle\Mapping\ClassMetadataFactoryInterface, instance of Dunglas\ApiBundle\Mapping\Factory\ClassMetadataFactory given, called in /var/www/app/cache/dev/appDevDebugProjectContainer.php on line 2384 and defined