note 101914 added to language.oop5.final
| From: | php at pbdev dot info | Date: | Tue, 18 Jan 2011 08:52:31 +0000 |
| Subject: | note 101914 added to language.oop5.final | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175846@lists.php.net to get a copy of this message | ||
Anonymous,
True that 'final' and 'private' do not seem to have much meaning put together.
A possible value to this, though, is to stop this method (method() ) from being used in an extended
class, which may be of value to ensure clarity of the rest of the code.
Neither an interface nor an abstract class could do that, could they?
----
Server IP: 195.221.21.36
Probable Submitter: 86.73.61.80
----
Manual Page -- http://www.php.net/manual/en/language.oop5.final.php
Edit -- https://master.php.net/note/edit/101914
Del: integrated -- https://master.php.net/note/delete/101914/integrated
Del: useless -- https://master.php.net/note/delete/101914/useless
Del: bad code -- https://master.php.net/note/delete/101914/bad+code
Del: spam -- https://master.php.net/note/delete/101914/spam
Del: non-english -- https://master.php.net/note/delete/101914/non-english
Del: in docs -- https://master.php.net/note/delete/101914/in+docs
Del: other reasons-- https://master.php.net/note/delete/101914
Reject -- https://master.php.net/note/reject/101914
Search -- https://master.php.net/manage/user-notes.php