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'));



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire