class FileSystemStashDriver extends FileSystem (View source)

Methods

storeData($key, $data, $expiration)

This function takes the data and stores it to the path specified. If the directory leading up to the path does not exist, it creates it.

Details

storeData($key, $data, $expiration)

This function takes the data and stores it to the path specified. If the directory leading up to the path does not exist, it creates it.

We overrode this function because calls to opcache_invalidate will sometimes throw fatals See https://github.com/tedious/Stash/issues/350

{@inheritdoc}

Parameters

$key
$data
$expiration

Exceptions

WindowsPathMaxLengthException