Open
Description
Hi there,
Namespace and Class directives are basically aliases for each other (regarding the implemenation), which is confusing, because a namespace may be considered as a construct which contains multiple classes. Kinda like a grouping feature.
The documentation (README.md)
A namespace can be used in more than one file (for example, when plugging more functionality to an existing class).
doesn't reflect that Namespace and Class are the same and the implementation doesn't enforce the documented behavior.
Also I think Namespace and Class should use different templates to help differentiating each other visually if desired.
Best regards
Metadata
Assignees
Labels
No labels