mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Make note of how to properly implement a Traversable interface.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327726 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
966013e33d
commit
5180de5d11
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@
|
|||
This is an internal engine interface which cannot be implemented in PHP
|
||||
scripts. Either <classname>IteratorAggregate</classname> or
|
||||
<classname>Iterator</classname> must be used instead.
|
||||
When implementing an interface which extends Traversable, make sure to
|
||||
list <classname>IteratorAggregate</classname> or
|
||||
<className>Iterator</className> before its name in the implements
|
||||
clause.
|
||||
</para>
|
||||
</note>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue