note 85859 added to language.oop5.interfaces

From: Date: Sun, 21 Sep 2008 22:49:31 +0000
Subject: note 85859 added to language.oop5.interfaces
Groups: php.notes 
Request: Send a blank email to php-notes+get-144591@lists.php.net to get a copy of this message
FYI, interfaces can define constructors, destructors, and magic methods. This can be very helpful especially in the case of constructors when instantiating an implementing class via reflection in some sort of factory. Of course, it is not recommended to do such a thing since it goes against the nature of a true interface. ---- Server IP: 64.71.164.2 Probable Submitter: 76.184.68.162 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.interfaces.php Edit -- https://master.php.net/note/edit/85859 Del: integrated -- https://master.php.net/note/delete/85859/integrated Del: useless -- https://master.php.net/note/delete/85859/useless Del: bad code -- https://master.php.net/note/delete/85859/bad+code Del: spam -- https://master.php.net/note/delete/85859/spam Del: non-english -- https://master.php.net/note/delete/85859/non-english Del: in docs -- https://master.php.net/note/delete/85859/in+docs Del: other reasons-- https://master.php.net/note/delete/85859 Reject -- https://master.php.net/note/reject/85859 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144591) next »