Factory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Feature\Framework\FileCache\Module;
6
7
use Gacela\Framework\AbstractFactory;
8
use Gacela\Framework\DocBlockResolverAwareTrait;
9
use GacelaTest\Feature\Framework\FileCache\Module\Persistence\FakeRepository;
10
11
/**
12
 * @method FakeRepository getRepository()
13
 */
14
final class Factory extends AbstractFactory
15
{
16
    use DocBlockResolverAwareTrait;
17
18
    public function getName(): string
19
    {
20
        return $this->getRepository()->findName();
21
    }
22
}
23