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

Public Methods

MethodDescription
decideCacheEnd()
getTag()
parse()Parses {% cache %}.

decideCacheEnd()

View source

Arguments

  • $token (\Twig_Token)

Returns

boolean

Signature

public boolean decideCacheEnd ( \Twig_Token $token )

getTag()

Signature

public string getTag ( )

parse()

Parses {% cache %}. ..{% endcache %} tags.

View source

Arguments

  • $token (\Twig_Token)

Returns

Craft\Cache_Node

Signature

public Craft\Cache_Node parse ( \Twig_Token $token )