Passed
Push — feature/change-cache-to-profil... ( 1b58b5...c0f98d )
by Chema
03:41
created

CustomServicesJsonProfiler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 7
rs 10
ccs 2
cts 2
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCacheFilename() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gacela\Framework\ClassResolver\DocBlockService;
6
7
use Gacela\Framework\ClassResolver\AbstractJsonFileProfiler;
8
9
final class CustomServicesJsonProfiler extends AbstractJsonFileProfiler
10
{
11
    public const FILENAME = 'gacela-custom-services.json';
12
13 2
    protected function getCacheFilename(): string
14
    {
15 2
        return self::FILENAME;
16
    }
17
}
18