|
|
1
1
生产者服务定义由 Dependency Injection Extension of the bundle
你可以试着
decorate the existing service
或创建
compiler pass
获取现有服务并通过调用
|
|
2
0
根据@lordrodos的建议,我装饰了RabbitMQBundle生成的生产者服务。以下是完整的代码: config.yml
服务.yml
装饰器类 :
最后,从控制器呼叫原始制作人:
|
|
|
nschildre · 多实体Symfony2表单提交速度慢 8 年前 |
|
|
Aamir · Symfony Add bootstrap表单控件类 8 年前 |
|
|
Mathilde G. · 致命错误:类Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy包含1个抽象方法…(Symfony2.8/PHP7) 9 年前 |
|
|
Aliance · 将约束传递给symfony集合类型 9 年前 |
|
|
robdex · Symfony2多个关系还保存现有的相关实体 9 年前 |
|
|
Oleg Shleif · 使用汇总表symfony2进行查询 9 年前 |