Passed
Pull Request — master (#32)
by Wilmer
15:17
created

FakeGenerator   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 16
rs 10
wmc 3
1
<?php
2
3
namespace Yiisoft\Yii\Cycle\Tests\Conveyor\Stub;
4
5
use Cycle\Schema\GeneratorInterface;
6
use Cycle\Schema\Registry;
7
8
class FakeGenerator implements GeneratorInterface
9
{
10
    private string $originClass;
11
12
    public function __construct(string $originClass)
13
    {
14
        $this->originClass = $originClass;
15
    }
16
17
    public function run(Registry $registry): Registry
18
    {
19
    }
20
21
    public function originClass(): string
22
    {
23
        return $this->originClass;
24
    }
25
}
26