namespace getNamespace(); ?>; getUseStatements(); ?> getClassDeclaration(); ?> { generateRouteForControllerMethod($route_path, $route_name); ?> public function (): ResponseJsonResponse { return $this->render('', [ 'controller_name' => 'getClassName() ?>', ]); return $this->json([ 'message' => 'Welcome to your new controller!', 'path' => '', ]); } }