Open robinwkurtz opened 6 years ago
Hi, I'm sorry for the delay in answering, my computer is in trouble, I sent it to the concert.
Yes I have, could you develop and commit?
Att.
Submitted a PR https://github.com/jailtonsc/laravel-response-xml/pull/18 to replace the class variables form private to protected so I can extend the XmlResponse class and override the construct function.
Thanks!
Sorry for the delay, these days I'm without a computer at home.
I made the merge.
No worries! Thanks for the merge :)
Hello,
I made the local setting adjustment, make sure the setting suppresses your need.
You are in version 3.0
Example
$config = [
'template' => '
Route::get('/', function () { return response()->xml(User::all(), 200, $config); });
Att.
Hello! Thanks for the great package.
I was wondering if there was any interest in allowing the configuration to be local and therefore overwrite the global configuration. In my case I need to output multiple xml files with different template & rowNames.
Thanks!