Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimeHelper #9

Closed
andrconstruction opened this issue Nov 11, 2020 · 4 comments · Fixed by #10
Closed

DateTimeHelper #9

andrconstruction opened this issue Nov 11, 2020 · 4 comments · Fixed by #10
Labels
bug Something isn't working

Comments

@andrconstruction
Copy link

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 andrconstruction changed the title Hi DateTimeHelper Nov 11, 2020
@andrconstruction
Copy link
Author

Solved by manual register the DateTimeHelper within services.yaml

@fre5h fre5h added the bug Something isn't working label Nov 11, 2020
@fre5h
Copy link
Owner

fre5h commented Nov 11, 2020

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

@andrconstruction
Copy link
Author

Thanks

@fre5h
Copy link
Owner

fre5h commented Nov 11, 2020

Check release 1.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants