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

Plans for PHP 8 - promoted properties and attributes #8326

Closed
ondrejmirtes opened this issue Nov 3, 2020 · 1 comment
Closed

Plans for PHP 8 - promoted properties and attributes #8326

ondrejmirtes opened this issue Nov 3, 2020 · 1 comment

Comments

@ondrejmirtes
Copy link
Contributor

ondrejmirtes commented Nov 3, 2020

Hi 👋

What are your plans for PHP 8, especially promoted properties and attributes?

  1. Are there going to be mapping attributes so we could use #[ORM\Column] instead of /** @var ORM\Column */?
  2. Is Doctrine ORM going to supported mapping of promoted properties?
  3. Will promoted properties be able to be mapped using both @var and attributes?

See relevant Twitter poll I made: https://twitter.com/OndrejMirtes/status/1322924057428373504

Thank you!

@beberlei
Copy link
Member

beberlei commented Nov 3, 2020

Yes to all three qeustions, see #8266

@beberlei beberlei closed this as completed Nov 3, 2020
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