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