logic->$function()); } public function getCangList() { $function = __FUNCTION__; return json($this->logic->$function()); } public $logic; public function __initialize() { $this->logic = new Logic($this->request); } }