'image/png', ], $header)); }); Response::macro('rawJson', function ($src = "", $status = 200, $header = []) { return Response::make($src)->header('Content-type', 'application/json'); }); } /** * Register any application services. * * @return void */ public function register() { // } }