I tried:
$rc = new \ReflectionClass($this);
$rc->getProperties(ReflectionProperty::IS_PUBLIC || ReflectionProperty::IS_PRIVATE || ReflectionProperty::IS_PROTECTED)
but all that did was give me the one static property that the class has. It has 3 private and one static. I just want to know how to weed out the static ones.
Aucun commentaire:
Enregistrer un commentaire