public function put($key, $value, $minutes)
{
$key = $this->appendLocale($key);
$this->memory[$key] = $value;
$value = $this->expiration($minutes) . serialize($value);
$path = $this->path($key);
$path = $this->normalize_path($path, false);
$this->createCacheDirectory($path);
$skip = false;
if (!empty($this->tags)) {
foreach ($this->tags as $tag) {
if (in_array($tag, $this->deleted_tags)) {
$skip = true;
}
}
$this->_setTags($path);
}
if (!$skip) {
@file_put_contents($path, $value);
}
// $this->files->put($path, $value);
}