Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Response::xml() and array_to_xml() #1097

Closed
wants to merge 5 commits into from
Closed

Added Response::xml() and array_to_xml() #1097

wants to merge 5 commits into from

Conversation

midned
Copy link

@midned midned commented Aug 15, 2012

Now we can send XML documents as response based on PHP arrays

Álvaro Carneiro added 5 commits July 11, 2012 17:12
Added Response::xml() method to send XML responses based on PHP arrays
Added array_to_xml() function to transform PHP arrays to XML documents
@midned
Copy link
Author

midned commented Aug 15, 2012

It looks like I've merged this commit with my previous one (the one that prevent template caching if the option is enabled). Sorry

| Change to false if you are looking for prevent the caching
|
*/
'cache' => true,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't related to the pull request.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true. For some reason I merged this pull with a previous one... Don't know how to separate them

@daylerees
Copy link
Contributor

The style could do with a bit of a tweak, check out the style of the Laravel core classes. Thanks.

zoe-edwards pushed a commit to zoe-edwards/laravel that referenced this pull request Oct 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants