note 81481 added to function.get-class
| From: | frederic dot sureau at gmail dot com | Date: | Fri, 29 Feb 2008 19:01:24 +0000 |
| Subject: | note 81481 added to function.get-class | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136611@lists.php.net to get a copy of this message | ||
@ hek :
The problem is that the method getInstance() in a Singleton must be static, so we cannot use $this
because it doesn't exists :(
----
Server IP: 213.246.42.8
Probable Submitter: 88.162.42.131
----
Manual Page -- http://www.php.net/manual/en/function.get-class.php
Edit -- https://master.php.net/note/edit/81481
Del: integrated -- https://master.php.net/note/delete/81481/integrated
Del: useless -- https://master.php.net/note/delete/81481/useless
Del: bad code -- https://master.php.net/note/delete/81481/bad+code
Del: spam -- https://master.php.net/note/delete/81481/spam
Del: non-english -- https://master.php.net/note/delete/81481/non-english
Del: in docs -- https://master.php.net/note/delete/81481/in+docs
Del: other reasons-- https://master.php.net/note/delete/81481
Reject -- https://master.php.net/note/reject/81481
Search -- https://master.php.net/manage/user-notes.php