You are here

public function TagsHeaderValue::__toString in Acquia Purge 8

Generate the header value for a cache tags header.

Return value

string String representation of the cache tags for use on headers.

File

src/Plugin/Purge/TagsHeader/TagsHeaderValue.php, line 54

Class

TagsHeaderValue
Provides simple value object for cache tag headers.

Namespace

Drupal\acquia_purge\Plugin\Purge\TagsHeader

Code

public function __toString() {
  return implode(self::SEPARATOR, $this->tagsHashed);
}