mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
fix #30250: final is just for methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169349 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e3d6824e23
commit
dd1f66e96c
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<sect1 id="language.oop5.final">
|
||||
<title>Final Keyword</title>
|
||||
<para>
|
||||
PHP 5 introduces the final keyword, which prevents child classes from
|
||||
overriding a method or variable by prefixing the definition with final.
|
||||
overriding a method by prefixing the definition with final.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue