public function DrupalCacheAdapter::writeStream in Flysystem 8
Same name and namespace in other branches
- 3.x src/Flysystem/Adapter/DrupalCacheAdapter.php \Drupal\flysystem\Flysystem\Adapter\DrupalCacheAdapter::writeStream()
- 2.0.x src/Flysystem/Adapter/DrupalCacheAdapter.php \Drupal\flysystem\Flysystem\Adapter\DrupalCacheAdapter::writeStream()
- 3.0.x src/Flysystem/Adapter/DrupalCacheAdapter.php \Drupal\flysystem\Flysystem\Adapter\DrupalCacheAdapter::writeStream()
File
- src/
Flysystem/ Adapter/ DrupalCacheAdapter.php, line 62
Class
- DrupalCacheAdapter
- A Flysystem adapter implementing caching with Drupal's Cache API.
Namespace
Drupal\flysystem\Flysystem\AdapterCode
public function writeStream($path, $resource, Config $config) {
$metadata = $this->adapter
->writeStream($path, $resource, $config);
return $this
->updateMetadata($path, $metadata);
}