make new return a reference to existent object
| From: | Leonardo Pedretti | Date: | Mon, 09 May 2005 14:30:56 +0000 |
| Subject: | make new return a reference to existent object | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-16179@lists.php.net to get a copy of this message | ||
I would like (for code cleanliness purposes) to make 'new' return a reference
to an already created object under certain circumstances without using a
factory, is it possible?
Thanx
--
Leonardo Pedretti
Axon Sistemas
Líder de Equipo Proyecto Basalto