How to access class constants in Twig

http://www.ens.ro/2012/07/10/how-to-access-class-constants-in-twig/