Symfony2 を学んでいる間、ドクトリン拡張ライブラリをインストールする方法を教えてくれるリソースが見つかりません。私は追加する必要があることを知っています
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
私のAppKernel.phpに、しかし作曲家はどうですか?たとえば、インストールするときに常に使用します。DoctrineFixtures ですが、この場合、正確に何を追加する必要があるのか わかりません。私は試した
"gedmo/doctrine-extensions" : "master-dev",
しかし、php composer.phar update
php FatalError を返します:
PHP Fatal error: Class 'Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle' not found in /path/to/my/symfony/project/app/AppKernel.php on line 20
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception