public function NullFileCache::set

public NullFileCache::set($filepath, $data)

Stores data based on a filename.

Parameters

string $filepath: Path of the file that the cached data is based on.

mixed $data: The data that should be cached.

Overrides FileCacheInterface::set

File

core/lib/Drupal/Component/FileCache/NullFileCache.php, line 44

Class

NullFileCache
Null implementation for the file cache.

Namespace

Drupal\Component\FileCache

Code

public function set($filepath, $data) {
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!FileCache!NullFileCache.php/function/NullFileCache::set/8.1.x