我想在我的Symfony 2.4应用程序中根据Doctrine自动生成一个slug,其中slug是基于创建记录的年份而唯一的。我正在使用DoctrineExtensions。 为我的博客记录我想要的路线是/blog/{year}/{slug} 所以可以说我有这两个记录 id: 1 title: My Blog Title createdAt: 2013-08-14 18:48:21 id: 2 t
我尝试使用以下命令来安装sylius项目终止后安装-CMD事件 [InvalidArgumentException]
The class sylius.model.promotion_subject.class does not exists.
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandle