/** * @inheritDoc */ public function get($id) { $data = $this->storage->read($id); if ($data) { return new Session($data, ['id' => $id]); } }
/** * @inheritDoc & <*****@*****.**> */ public function get($id) { // $data = $this->storage->read($id); // if ($data) { // return new Session($data, ['id' => $id]); // } return $this->storage->read($id); }