コード例 #1
0
 /**
  * Add a single tag or an array of tags to the response.
  *
  * The tag string is *not* further processed, you can't use a comma
  * separated string to pass several tags but need to build a twig array.
  *
  * Calling this twig function adds nothing to the output.
  *
  * @param string|array $tag
  */
 public function addTag($tag)
 {
     $this->tagHandler->addTags((array) $tag);
 }
 /**
  * Add tags to include in the response
  * 
  * @param array $tags
  */
 public function addCacheTags(array $tags)
 {
     $this->tagHandler->addTags($tags);
 }