[TwigHooks] Add debug command to display hooks and hookables by camilleislasse · Pull Request #326 · Sylius/Stack

loic425

loic425

loic425

Add `sylius:debug:twig-hooks` command to list and inspect Twig hooks.

Features:
- List all hooks with hookable count
- Filter hooks by name (case-insensitive)
- Show hook details with hookables (name, type, target, priority)
- `--all` option to include disabled hookables
- `--config` option to display hookable configuration
- Shell autocompletion for hook names
- Rename $h to $hookable for clarity
- Use VarExporter instead of custom formatValue logic

@camilleislasse

@camilleislasse

diimpp

stlgaits

@camilleislasse

… getFor, update description