I find myself using "->" and "=>" in different scenarios while programming in PHP and I would like to know the difference between these two operators.
Two examples would be:
return Response::json(array('key' => 'value'));
key => value into an array.
-> calls method on object or gets object property.