src/Storages/MemoryAdapterStorage.php
public function write($key, $data, array $dependencies): void
	{
		$this->cachedStorage->write($key, $data, $dependencies);
		$this->memoryStorage->write($key, $data, $dependencies);
	}
public function write($key, $data, array $dependencies): void
	{
		$this->cachedStorage->write($key, $data, $dependencies);
		$this->memoryStorage->write($key, $data, $dependencies);
	}
public function write ( $ key , $ data , array $ dependencies ) : void { $ this -> cachedStorage -> write ( $ key , $ data , $ dependencies ) ; $ this -> memoryStorage -> write ( $ key , $ data , $ dependencies ) ; }
Writes item into the cache.

@param string  $key
@param mixed   $data
@param mixed[] $dependencies
@phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint
Writes item into the cache .