Open neos-bot opened 10 years ago
Still relevant, the mentioned section is now linked to
I think I never actually read this part of the Flow documentation and oh boy... :D Yes, that specific section could be quite improved
Here's a link to the file to edit directly in GH: https://github.com/neos/flow-development-collection/edit/5.3/Neos.Flow/Documentation/TheDefinitiveGuide/PartI/Object-OrientedProgramming.rst - the above gist could be a great first step
Jira issue originally created by user tpei:
In the Object Oriented Programming section of the Typo3 Flow 2.2 definitive guide there is a section on PHP constructors (http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartI/Object-OrientedProgramming.html#constructor). However there is no example here whatsoever. Seeing as the constructor is used in the next section on Inheritance, it should be demonstrated how a Constructor can be implemented and used.
I’m thinking of something like https://gist.github.com/TPei/7f3731c72ea2588c5dd0
Jira-URL: https://jira.neos.io/browse/FLOW-56