Config   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A directories() 0 4 1
1
<?php
2
3
namespace Spiral\LogViewer;
4
5
use Spiral\Core\InjectableConfig;
6
7
class Config extends InjectableConfig
8
{
9
    /**
10
     * Configuration section.
11
     */
12
    const CONFIG = 'modules/log-viewer';
13
14
    /**
15
     * @var array
16
     */
17
    protected $config = [
18
        'directories' => []
19
    ];
20
21
    /**
22
     * @return array
23
     */
24
    public function directories(): array
25
    {
26
        return $this->config['directories'];
27
    }
28
}