Extension::loadConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace pjpawel\LightApi\Component\Extension;
4
5
use pjpawel\LightApi\Command\CommandsLoader;
6
use pjpawel\LightApi\Container\ContainerLoader;
7
use pjpawel\LightApi\Route\Router;
8
9
class Extension implements ExtensionInterface
10
{
11
12
    protected array $config = [];
13
14
    public function loadConfig(array $config): void
15
    {
16
        $this->config = $config;
17
    }
18
19
    public function registerServices(ContainerLoader $container): void
20
    {
21
22
    }
23
24
    public function registerRoutes(Router $router): void
25
    {
26
27
    }
28
29
    public function registerCommands(CommandsLoader $commandLoader): void
30
    {
31
32
    }
33
}