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

Change examples to use #[Route()] attributes #427

Open
tacman opened this issue Dec 7, 2023 · 1 comment
Open

Change examples to use #[Route()] attributes #427

tacman opened this issue Dec 7, 2023 · 1 comment

Comments

@tacman
Copy link
Contributor

tacman commented Dec 7, 2023

The controller example for FacebookController feels very dated, since annotations are being phased out.

And since when something doesn't work, I literally cut and paste the examples from the documentation, okay if I change the examples to something more current? Give an example with Symfony 6 requirements?

@bocharsky-bw
Copy link
Member

Hey @tacman ,

Agree, we should change annotations with attributes in the examples. Would you like to create a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants