@milana convimcig people to improve their documemtation at the #cloudfest #cfhack this year.

And I am looking forward to the integration of @phpdoc in that...

@heiglandreas @milana if you need help let me know. I have some work in progress that might help for hooks.

@phpdoc

@jaapio we have done something with hooks here: https://github.com/Block2Docs/Parser/blob/main/src/php/Parsers/WordPress/HookStrategy.php

Feel free to take a look at all `hooks` files in that dir. Any feedback is very much welcome ❤️

Parser/src/php/Parsers/WordPress/HookStrategy.php at main · Block2Docs/Parser

CloudFest Hackathon 2026 project. Contribute to Block2Docs/Parser development by creating an account on GitHub.

GitHub
@milana for caching purposes I recommend to do the creation of the hook object into the strategy. The objects created by the reflection library are designed in such a way you could use the php standard serialize method without issues.
Adding the hooks this way will break this option, as the hook may contain circulair dependencies.