无法在symfony 3.3上安装eventdispatcher2.8

时间:2017-10-13 14:07:00

标签: symfony

我试图在symfony 3.3中安装omnypay,我发现我必须安装 eventdispatcher:^ 2.8之前 使用:

composer require symfony/event-dispatcher:^2.8

但我收到了错误:

[InvalidArgumentException]
The service "resolve_controller_name_subscriber" must be public as event subscribers are lazy-loaded.

我将类(resolve_controller_name_subscriber)更改为公开,问题已解决,但我不确定这是否正确

0 个答案:

没有答案