aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/RuleSetIterator.php
blob: e02b58dea300f0308721a39a58be8ff1b9fc09df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php

// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\DependencyResolver\RuleSetIterator.
// The Rust side owns this class and the worker has no proxy for it, so this
// declaration shadows the real one: the constants and the hierarchy stay, while
// constructing it or calling anything on it raises an explicit error.

namespace Composer\DependencyResolver;

class RuleSetIterator implements \Iterator
{
    public function __construct(array $rules)
    {
        \ShirabeUnsupportedClass::fail(self::class, '__construct');
    }

    public function current(): Rule
    {
        \ShirabeUnsupportedClass::fail(self::class, 'current');
    }

    public function key(): int
    {
        \ShirabeUnsupportedClass::fail(self::class, 'key');
    }

    public function next(): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'next');
    }

    public function rewind(): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'rewind');
    }

    public function valid(): bool
    {
        \ShirabeUnsupportedClass::fail(self::class, 'valid');
    }
}