response
<?php return response('Hello World', 200, $headers); return response()->json(['foo' => 'bar'], 200, $headers);
<?php $solution->run($request->get('parameters', [])); return response(''); } public function ensureLocalEnvironment()
<?php { public function __invoke(Request $request) { return response( file_get_contents( Ignition::scripts()[$request->script] ), 200, ['Content-Type' => 'application/javascript'] ); } }
<?php { public function __invoke(Request $request) { return response( file_get_contents(Ignition::styles()[$request->style]), 200, ['Content-Type' => 'text/css'] ); } }