assertStringStartsWith( self::EXTENSION_PREFIX, $name ); $this->assertIsCallable( $definition ); } public static function provideWiring(): Generator { $wiring = require __DIR__ . '/../../../ServiceWiring.php'; foreach ( $wiring as $name => $definition ) { yield $name => [ $name, $definition ]; } } }