As you can see below:
There are properties which are prefixed with - or # or +
- means Private
# means Protected
+ means public
How to access Public properties?
I can access private and protected properties for example: getStatusCode()
Also, its weird when I print $e->getStatusCode()
it shows the value 400 but when I store it in an array or an object and try to log it nothing is sent.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire