mercredi 4 mai 2016

"->" or "=>" in laravel

I find myself using "->" and "=>" in different scenarios while programming in Laravel and I would like to know the difference between these two operators.

Two examples would be:

Cache::section('group')->put('key', $value);

and

return Response::json(array('key' => 'value'));



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1SXVH3n
via IFTTT

Aucun commentaire:

Enregistrer un commentaire