在使用composer安装willdurand/BazingaFakerBundle
后出现此错误:
ParameterNotFoundException 您已请求不存在的参数“faker.populate.class”
我在config_dev.yml文件中添加了这个:
bazinga_faker:
orm: doctrine
locale: fr_FR
entities:
AppBundle\Entity\User:
number: 20
我正在使用Symfony 3.4。
我忘了配置一些东西吗?谢谢
编辑:我的composer.json
"require": { "php": ">=5.5.9", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-fixtures-bundle": "^3.0", "doctrine/orm": "^2.5", "friendsofsymfony/user-bundle": "~2.0", "incenteev/composer-parameter-handler": "^2.0", "knplabs/knp-paginator-bundle": "^2.7", "lexik/form-filter-bundle": "^5.0", "sensio/distribution-bundle": "^5.0.19", "sensio/framework-extra-bundle": "^5.0.0", "symfony/monolog-bundle": "^3.1.0", "symfony/polyfill-apcu": "^1.0", "symfony/swiftmailer-bundle": "^2.6.4", "symfony/symfony": "3.4.*", "symfony/templating": "^4.0", "twig/twig": "^1.0||^2.0", "willdurand/faker-bundle": "^1.4" }, "require-dev": { "pugx/generator-bundle": "2.4.*", "sensio/generator-bundle": "^3.0", "symfony/phpunit-bridge": "^3.0" },