The return type is merely documented here, it's not actually enforced. For instance, the IteratorIterator implementation can return Traversable, which would break the interface. Most likely, this is for backwards compatibility with code written before return type hints existed. It's still possible to create your own namespaced OuterIterator interface that extends the global one and add a typehint for this method in there.
PHP.mk документација
OuterIterator::getInnerIterator
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
Патека
outeriterator.getinneriterator.php
Локална патека за оваа страница.
Извор
php.net/manual/en
Оригиналниот HTML се реупотребува и локално се стилизира.
Режим
Прокси + превод во позадина
Кодовите, табелите и белешките остануваат читливи во истиот тек.
Референца
outeriterator.getinneriterator.php
OuterIterator::getInnerIterator
Референца за `outeriterator.getinneriterator.php` со подобрена типографија и навигација.
OuterIterator::getInnerIterator
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
OuterIterator::getInnerIterator — Returns the inner iterator for the current entry
= NULL
Returns the inner iterator for the current iterator entry.
Параметри
Оваа функција нема параметри.
Вратени вредности
Returns the inner iterator for the current entry if it exists, or null otherwise.
Белешки од корисници 1 белешка
Sjakie Pruts ¶
пред 6 години