mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Use a valid tag for the example's description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313054 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
895044720b
commit
44341556e9
1 changed files with 7 additions and 5 deletions
|
@ -77,11 +77,13 @@ class ezcReflectionFunction extends ReflectionFunction {
|
|||
</example>
|
||||
<example xml:id="language.oop5.traits.examples.ex2">
|
||||
<title>Precedence Order Example</title>
|
||||
<description>An inherited method from a base class is overridden by the
|
||||
method inserted into MyHelloWorld from the SayWorld Trait. The behavior is
|
||||
the same for methods defined in the MyHelloWorld class. The precedence order
|
||||
is that methods from the current class override Trait methods, which in
|
||||
turn override methods from the base class.</description>
|
||||
<para>
|
||||
An inherited method from a base class is overridden by the
|
||||
method inserted into MyHelloWorld from the SayWorld Trait. The behavior is
|
||||
the same for methods defined in the MyHelloWorld class. The precedence order
|
||||
is that methods from the current class override Trait methods, which in
|
||||
turn override methods from the base class.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue