TokenParser
Table of Contents
Classes
- TwigTokenParserCache
- Adds ability to cache Twig between tags.
- TwigTokenParserLink
- Adds a link to the document. First parameter is always value of `rel` without quotes.
- TwigTokenParserMarkdown
- Adds ability to inline markdown between tags.
- TwigTokenParserRender
- Renders an object.
- TwigTokenParserScript
- Adds a script to head/bottom/custom group location in the document.
- TwigTokenParserStyle
- Adds a style to the document.
- TwigTokenParserSwitch
- Adds ability use elegant switch instead of ungainly if statements
- TwigTokenParserThrow
- Handles try/catch in template file.
- TwigTokenParserTryCatch
- Handles try/catch in template file.