PHP - Read public/protected/private object property