add doc for twig phptypes