Globalz
Globalz

Reputation: 4604

Laravel: get all data from View object

Just wondering if there is an equivalent method or workaround to

Session:all()

for the View object?

Upvotes: 1

Views: 3181

Answers (1)

snollygolly
snollygolly

Reputation: 1886

I believe getData() is what you're looking for.

From the Laravel Documentation: http://laravel.com/api/class-Illuminate.View.View.html

Upvotes: 2

Related Questions