public requireOnce ( string $entryIdentifier ) : mixed | ||
$entryIdentifier | string | An identifier which describes the cache entry to load |
return | mixed | Potential return value from the include operation |
public function requireOnce($entryIdentifier)
{
return $this->backend->requireOnce($entryIdentifier);
}
/** * Gets an entry from the cache or NULL if the * entry does not exist. * * @param string $name * @return string */ public function get($name) { if ($this->flowCache->has($name)) { $this->flowCache->requireOnce($name); } return $this->flowCache->getWrapped($name); }