Passed
Push — bugfix/support-windows ( 517fb4...0e99e7 )
by Chema
04:47
created

Facade::loadGacelaCacheFile()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Benchmark\Framework\ClassResolver\FileCache\ModuleC;
6
7
use Gacela\Framework\AbstractFacade;
8
use Gacela\Framework\DocBlockResolverAwareTrait;
9
use GacelaTest\Benchmark\Framework\ClassResolver\FileCache\ModuleC\Infra\EntityManager;
10
use GacelaTest\Benchmark\Framework\ClassResolver\FileCache\ModuleC\Infra\Repository;
11
12
/**
13
 * @method FactoryC getFactory()
14
 * @method Repository getRepository()
15
 * @method EntityManager getEntityManager()
16
 */
17
final class Facade extends AbstractFacade
18
{
19
    use DocBlockResolverAwareTrait;
20
21
    public function loadGacelaCacheFile(): array
22
    {
23
        return [
24
            $this->getFactory()->getArrayConfigAndProvidedDependency(),
25
            $this->getRepository()->getAll(),
26
            $this->getEntityManager()->updateEntity(),
27
        ];
28
    }
29
}
30