Neos\FluidAdaptor\Core\Cache\CacheAdaptor::set PHP Method

set() public method

Set or updates an entry identified by $name into the cache.
public set ( string $name, string $value )
$name string
$value string
    public function set($name, $value)
    {
        // we need to strip the first line with the php header as the flow cache adds that again.
        return $this->flowCache->set($name, substr($value, strpos($value, "\n") + 1));
    }