我正在尝试通过 CLI 运行操作。动作是UsersController::test()
所以,我运行这个:
php libraries/lithium/console/lithium.php \\app\\controllers\\UsersController test
但我一直遇到这个错误:
PHP Fatal error: Call to undefined method lithium\console\Request::get() in /var/www/example.com/libraries/lithium/action/Controller.php on line 154
我究竟做错了什么?