There is an object of a certain class "A", you need to display its property and call a method.
php gives the error that there is no access to these methods. they are pretected.
how to get access?
There is an object of a certain class "A", you need to display its property and call a method.
php gives the error that there is no access to these methods. they are pretected.
how to get access?
You have several options.
Source: https://ru.stackoverflow.com/questions/508610/
All Articles