Hello,
If I have written a new class and typically use it by doing something like:
$instance = new MyClass; $instance->getWhatever;
I remember seeing somewhere out here where this can be executed using one line code rather than the 2 above. Something like Yii::->MyClass->getWhatever, but I can't seem to find anything out here. Am I correct in that this can be done without having to first create an instance and then use the instance?
Thanks,
R