You are here

public function ParsedMarkdownInterface::setExpire in Markdown 8.2

Sets the object's expiration timestamp.

Parameters

int|string $expire: A UNIX timestamp or a string indicating a relative time in the future of when this object is to expire, e.g. "1+ day".

Return value

static

1 method overrides ParsedMarkdownInterface::setExpire()
ParsedMarkdown::setExpire in src/Render/ParsedMarkdown.php
Sets the object's expiration timestamp.

File

src/Render/ParsedMarkdownInterface.php, line 134

Class

ParsedMarkdownInterface
Interface parsed markdown instances.

Namespace

Drupal\markdown\Render

Code

public function setExpire($expire = Cache::PERMANENT);