php functions made available to twig template as a member of fn object