Completed
Push — develop ( 32e215...792e1e )
by Peter
10:26
created

Developer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A toArray() 0 17 1
1
<?php
2
3
namespace WebinoDev\Config\App;
4
5
/**
6
 * Application developer config
7
 */
8
class Developer
9
{
10
    /**
11
     * @param array $options
12
     * @return array
13
     */
14
    public function toArray(array $options = [])
15
    {
16
        return array_replace_recursive(
17
            $options,
18
            [
19
                'modules' => [
20
                    110 => 'WebinoDev',
21
                    130 => 'AssetManager',
22
                ],
23
                'module_listener_options' => [
24
                    'config_cache_enabled'     => false,
25
                    'module_map_cache_enabled' => false,
26
                    'check_dependencies'       => true,
27
                ],
28
            ]
29
        );
30
    }
31
}
32