When I dump this Customer::where('email', '=', $inputObj['email']-first();
the output has a few properties. Some of which have #
and others have a +
. For example, one is +exists: true
, which I can access by ->exists()
and it returns me true
. Another is #attributes: array:10 [...]
which I can see it is an associative array with values in the dump
, but I can't access either like this ->attributes
or like this ['attributes']
. What do the different symbols mean and how can I access the values in the attributes property?
I really want to learn what is happening at a deep level, so any enlightening comments are appreciated (: