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:
Christoph Michael Becker 2016-07-10 12:30:04 +00:00
parent cf895b5554
commit f984ca507f

View file

@ -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