Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ServiceLoaderIterator.php

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\SPI

Code

private function skipInvalid() : void {
    while (($this->cache[$this->index] ?? null) === false) {
        $this->index++;
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal