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

Add setAttributes to ClassGenerator #144

Open
jakublabno opened this issue Aug 11, 2022 · 5 comments
Open

Add setAttributes to ClassGenerator #144

jakublabno opened this issue Aug 11, 2022 · 5 comments

Comments

@jakublabno
Copy link

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Please add support for attributes generation like it has place for DocBlockGenerator
It should support one attributes or a group of them

#[Attribute1(arg: true)]
#[Attribute2]
class SampleClass implements
{
}
@Ocramius
Copy link
Member

Probably requires a dedicated AttributeGenerator: consider sending a patch/proposal.

@jakublabno
Copy link
Author

Should I leave compatibility with 7.4?

@Ocramius
Copy link
Member

Your pick: PHP 7.4 is almost dead, so you can drop it, if it helps development.

@Ocramius
Copy link
Member

See also #143

@jakublabno
Copy link
Author

#145

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

No branches or pull requests

2 participants