mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #71664: Use of the term "standard class" inaccurately
Clarify introduction sentence on creating interfaces with respect to classes -- Provided by anonymous 70720 (d@roscius.ca) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339625 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cf895b5554
commit
f984ca507f
1 changed files with 3 additions and 3 deletions
|
@ -8,9 +8,9 @@
|
|||
handled.
|
||||
</para>
|
||||
<para>
|
||||
Interfaces are defined using the <literal>interface</literal> keyword, in the same way as a
|
||||
standard class, but without any of the methods having their contents
|
||||
defined.
|
||||
Interfaces are defined in the same was as a class, but with the <literal>interface</literal>
|
||||
keyword replacing the <literal>class</literal> keyword and without any of the methods having
|
||||
their contents defined.
|
||||
</para>
|
||||
<para>
|
||||
All methods declared in an interface must be public; this is the nature of an
|
||||
|
|
Loading…
Reference in a new issue