ReflectionClass::isIterateable

( excerpt from http://php.net/manual/en/reflectionclass.isiterateable.php )

public function isIterateable(): bool;

Checks whether the class is iterateable.

Returns

  • bool - Returns TRUE on success or FALSE on failure.