Lumen shared controller
问题 I wrote a "Helper" controller that I want to use in other controllers, but I am doing something wrong. Is Lumen Service what i need? Then I just don't get how to set it up. My main class: namespace App\Http\Controllers; use App\Http\Controllers\HelperController as Helper; class InitController extends Controller { public function work($hash, $type) { return response()->json([ 'answer' => Helper::makeCodeUrl() ]); } } Helper controller: namespace App\Http\Controllers; class HelperController