我有一个关于Laravel5的问题。type' => '1', 'message' => 'Call to a member function domain() on a non-object', 'file' => '/home/nl/Laravel/vendor/laravel/framework/src/
这是我的控制器: As seen in the screenshot,the class exists and is in the correct place: My api.php routegave me the following error: Target class [Api\RegisterController] does not exist. ---- Update: Thanks的答案我决定对此路由使用完全限定的类名,但还有答案中描述的其他选项