Laravel 5 escapes your output with 2 curly braces. 3 braces is unnecessary, and that was a feature f...
You can set up a simple if statement to find out if it's empty by doing... if ($current->isEmpty(...
Hmm..is that within php tags? If so, you should drop the curly braces and probably try this somethin...
What exactly isn't working? Or, what error message are you getting?
If you use the Log facade, you have to import it at the top. But, there are global helper functions...
The Laravel portal for problem solving, knowledge sharing and community building.