C Drozdowski wrote:
Howdy,
I'd like to access some of the private members of my classes as
read-only properties without resorting to function calls to access them.
(e.g. $testClass-privateMember instead of $testClass-privateMember(),
etc)
Based on my research and testing, using the __get and
Howdy,
I'd like to access some of the private members of my classes as
read-only properties without resorting to function calls to access
them. (e.g. $testClass-privateMember instead of
$testClass-privateMember(), etc)
Based on my research and testing, using the __get and __set overloading
2 matches
Mail list logo