-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEATURE] Make Fully Qualified name available in members node. #41
Conversation
This is used to suggest a rst reference snippet in the render-guides. I can then offer the following code in the suggest wizzard: :php:method:`somemanual:\LibraryName\LibraryClassFinal::firstmethod` Instead of something like this: :php:method:`somemanual:libraryname-libraryclassfinal-firstmethod`
Whitespace handling changed in the guides, therefore our integration tests need to be updated for whitespace.
For nicer links to members (methods, constants etc) we need TYPO3-Documentation/guides-php-domain#41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not the biggest trait fan, so just a question that I can better understand the use case here. Why wouldn't we add the method to the SubDirective class? If I saw right, everything that uses the component also inherits from there? And else we might want to create a new "ComponentSubDirective" class if not every SubDirective should receive the method?
The Subdirective is in the guides, we cant change it here. We could make another level of inheritance to avoid the trait. My understanding of Traits was, however that they were created to avoid large chains of inheritance.... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for stating that intent. I'd prefer inheritance over composition, but I don't want to impose, and I'm good with doing it the way you propose.
For nicer links to members (methods, constants etc) we need TYPO3-Documentation/guides-php-domain#41
For nicer links to members (methods, constants etc) we need TYPO3-Documentation/guides-php-domain#41
This is used to suggest a rst reference snippet in the render-guides.
I can then offer the following code in the suggest wizzard:
Instead of something like this:
depends on #42