표준 PHP 라이브러리(SPL) The EmptyIterator class
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
소개
빈 반복기에 대한 EmptyIterator 클래스입니다.
클래스 개요
class EmptyIterator implements Iterator {
/* Methods */
public current(): never
public key(): never
public next(): void
public rewind(): void
public valid(): bool
}
목차
- EmptyIterator::current — current() 메서드
- EmptyIterator::key — key() 메서드
- EmptyIterator::next — next() 메서드
- EmptyIterator::rewind — rewind() 메서드
- EmptyIterator::valid — valid() 메서드