function ServiceLoaderIterator::skipInvalid
2 calls to ServiceLoaderIterator::skipInvalid()
- ServiceLoaderIterator::next in vendor/
tbachert/ spi/ src/ ServiceLoaderIterator.php - ServiceLoaderIterator::rewind in vendor/
tbachert/ spi/ src/ ServiceLoaderIterator.php
File
-
vendor/
tbachert/ spi/ src/ ServiceLoaderIterator.php, line 85
Class
- ServiceLoaderIterator
- @template-covariant S of object service type @implements Iterator<class-string, S>
Namespace
Nevay\SPICode
private function skipInvalid() : void {
while (($this->cache[$this->index] ?? null) === false) {
$this->index++;
}
}