Twig template engine Standard August 29, 2013 Leave a comment Twig in used by default in symfony autoescape block do embed extends filter flush for from if import include macro sandbox set spaceless use verbatim Filters abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse slice sort split striptags title trim upper url_encode Functions attribute block constant cycle date dump include parent random range template_from_string Tests constant defined divisibleby empty even iterable null odd sameas Operators in is Math (+, -, /, %, /, *, **) Logic (and, or, not, (), b-and, b-xor, b-or) Comparisons (==, !=, <, >, >=, <=, ===) Others (.., |, ~, ., [], ?:) Thanks Vinod Share this:TwitterFacebookLike Loading... Related