Skip to content

No ability to add usegroup for namespace. #5

@Sevavietl

Description

@Sevavietl

Hello.

Thank you for the great library.

Are you going to implement ability for usegroup creation?

This can be very useful, when I, for example, what to extend class by fully qualified name. Then I can put this name as usergroup and extend with short name only. Same can be applied to implements.

Another great feature would be the ability to get first namespace or first entity of the code. Assuming the PHP code follows PSR-4, we then can get them from content without the need for providing the name.

Going even further we, having that, can determine the type of PHP file (class, interface, trait) only from its content.

Are those features out of scope of this library?

If not, I can try to implement them myself and make pull request.

Thank you in advance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions