TypeRegistry   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Psi\Component\View;
6
7
use Sylius\Component\Registry\ServiceRegistry;
8
9
class TypeRegistry extends ServiceRegistry
10
{
11
    public function __construct()
12
    {
13
        parent::__construct(
14
            TypeInterface::class,
15
            'view'
16
        );
17
    }
18
}
19