- I don't want to declare static variables or class constants because
in the example
$vis prone to change. - I don't want to pass through
returnstatement.
Is there a mechanism for such a behavior to be implemented ?
$v is prone to change.return statement.Is there a mechanism for such a behavior to be implemented ?