/** * Store an item in the cache for a given number of minutes. * * @param string $key * @param mixed $value * @param \DateTime|int $minutes * @return void */ public function put($key, $value, $minutes) { $minutes = $this->getMinutes($minutes); if (!is_null($minutes)) { $this->store->put($this->taggedItemKey($key), $value, $minutes); } }