Passed
Push — feature/container-factory ( 5aed48...636d71 )
by Chema
03:27
created

Facade   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 15
rs 10
c 1
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getRandomStringValue() 0 3 1
A getCachedSeed() 0 3 1
A getRandomSeed() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Feature\Framework\ContainerFactory\Module;
6
7
use Gacela\Framework\AbstractFacade;
8
use GacelaTest\Fixtures\StringValue;
9
10
/**
11
 * @method Factory getFactory()
12
 */
13
final class Facade extends AbstractFacade
14
{
15
    public function getCachedSeed(): string
16
    {
17
        return $this->getFactory()->getCachedSeed();
18
    }
19
20
    public function getRandomSeed(): string
21
    {
22
        return $this->getFactory()->getRandomSeed();
23
    }
24
25
    public function getRandomStringValue(): StringValue
26
    {
27
        return $this->getFactory()->getRandomStringValue();
28
    }
29
}
30