Is it possible within the class to access all your (properties) definitions without having their names?
For example, if I create an instance of a class $classe = new Classe()
, and I'm defining things in it:
$classe->ComprarFile = true;
$classe->comidaDoCachorro = false;
$classe->valorDoDolar = '50 reais';
Would it be possible to access these properties in the class without knowing their names?