ExtensionProcessor   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 5 1
1
<?php
2
/*
3
 * This file is part of the Borobudur-Kernel package.
4
 *
5
 * (c) Hexacodelabs <http://hexacodelabs.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Borobudur\Kernel\Processor;
12
13
use Borobudur\Kernel\KernelInterface;
14
15
/**
16
 * @author      Iqbal Maulana <[email protected]>
17
 * @created     10/5/15
18
 */
19
class ExtensionProcessor implements ProcessorInterface
20
{
21
    /**
22
     * Initialize process process.
23
     *
24
     * @param KernelInterface $kernel
25
     */
26
    public function initialize(KernelInterface $kernel)
27
    {
28
        $serviceLocator = $kernel->getServiceLocator();
29
        $serviceLocator->getExtension()->load($serviceLocator->getConfiguration(), $kernel->getContainer());
30
    }
31
}
32