->setAction($this->actionName);}public function exec(){try {// 实例化控制器$instance = $this->controller($this->controller);} catch (ClassNotFoundException $e) {throw new HttpException(404, 'controller not exists:' . $e->getClass());}return $this->responseWithMiddlewarePipeline($instance, $this->actionName);}/*** 实例化访问控制器* @access public* @param string $name 资源地址
| USER | www |
| HOME | /home/www |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_HOST | voice-api-test.tayu123.com |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | voice-api-test.tayu123.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 10.0.12.10 |
| REMOTE_PORT | 31593 |
| REMOTE_ADDR | 216.73.216.20 |
| SERVER_SOFTWARE | nginx/1.18.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/voice-api-test.tayu123.com/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /sitemap.xml |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/sitemap.xml |
| SCRIPT_FILENAME | /www/wwwroot/voice-api-test.tayu123.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1765303027.4128 |
| REQUEST_TIME | 1765303027 |