fre5h / CentrifugoBundle

📦 Provides communication with web-socket server Centrifugo in Symfony applications.
https://centrifugal.github.io/centrifugo/
MIT License
74 stars 8 forks source link

DateTimeHelper #9

Closed andrconstruction closed 3 years ago

andrconstruction commented 3 years ago

I faced with an error

Cannot autowire service "Fresh\CentrifugoBundle\Service\Credentials\CredentialsGenerator": argument "$dateTimeHelper" of method "__construct()" references class "Fresh\DateTime\DateTimeHelper" but no such service exists.

a class exists, example copied from documentation, what do I do wrong?

Symfony 5.1

andrconstruction commented 3 years ago

Solved by manual register the DateTimeHelper within services.yaml

fre5h commented 3 years ago

It is a bug. Class DateTimeHelper should be registered in CentrifugoBundle. I will fix it. Thanks for reporting

andrconstruction commented 3 years ago

Thanks

fre5h commented 3 years ago

Check release 1.2.1