public function getMyAccount($reset = false) { $cacheKey = sprintf('%s:my-account', self::$sessionId); if ($reset || !($info = self::$cache->fetch($cacheKey))) { $info = $this->getClient()->getAccountInfo($reset); self::$cache->save($cacheKey, $info, $this->config->get('api.users_ttl')); } return $info; }