FileCacheInterface::set
public function FileCacheInterface::set
public FileCacheInterface::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.
File
- core/lib/Drupal/Component/FileCache/FileCacheInterface.php, line 49
Class
- FileCacheInterface
- Interface for objects that allow caching file data.
Namespace
Drupal\Component\FileCacheCode
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!FileCacheInterface.php/function/FileCacheInterface::set/8.1.x