[ticket/12509] Add example in doc block

PHPBB3-12509