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()

View source (opens new window)

Arguments

  • $token (\Twig_Token)

Returns

boolean (opens new window)

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

Craft\Cache_Node

Signature

public Craft\Cache_Node parse ( \Twig_Token $token )