getLoginInfo(); if ($tmpResult->isSuccess()) { $user = $tmpResult->getData(); } return $user; } public function run() { $action = $this->action; $this->$action(); } }