<?php
namespace Engine\Storage; class LocalMemory implements \Engine\Storage\BaseInterface { private $data = []; public function __construct() { } public function set($key, $value, $expireTime=0) { $this->data[$key] = $value; return true; } public function get($key) { return $this->data[$key]; } public function delete($key) { unset($this->data[$key]); return true; } public function flush() { $this->data = []; return true; } public function getInfo($key) { return []; } } 