Cache_TokenParser
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\Cache_TokenParser »
Twig_TokenParser
- Since
- 2.0
Class Cache_TokenParser
See also http://craftcms.com
View source (opens new window)
# Public Methods
Method | Description |
---|---|
decideCacheEnd() | |
getTag() | |
parse() | Parses {% cache %}. |
# decideCacheEnd()
Signature
public boolean decideCacheEnd ( \Twig_Token $token )
# getTag()
Signature
public string getTag ( )
# parse()
Parses {% cache %}. ..{% endcache %} tags.
View source (opens new window)
Arguments
$token
(\Twig_Token
)
Returns
Signature
public Craft\Cache_Node parse ( \Twig_Token $token )