That gets rid of the static coupling, but then the instance is still global.
Originally Posted by dagfinn
I belated reply: I love it. There's a lot I already know, but enough new stuff to keep me enthusiastic.
Originally Posted by SilverBulletUK
PHP in Action
"Making the impossible possible, the possible easy,
and the easy elegant" -- Moshe Feldenkrais