Completed
Push — master ( 39c1d7...699dc6 )
by Changwan
06:44
created

NullKernel   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 16.66%

Importance

Changes 0
Metric Value
dl 0
loc 26
ccs 2
cts 12
cp 0.1666
rs 10
c 0
b 0
f 0
wmc 6
lcom 0
cbo 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 3 1
A offsetExists() 0 3 1
A offsetGet() 0 3 1
A offsetSet() 0 3 1
A offsetUnset() 0 3 1
A boot() 0 3 1
1
<?php
2
namespace Wandu\Foundation\Kernels;
3
4
use Wandu\Foundation\Contracts\KernelInterface;
5
use Wandu\DI\ContainerInterface;
6
7
class NullKernel implements KernelInterface
8
{
9 4
    public function boot(ContainerInterface $app)
10
    {
11 4
    }
12
13
    public function execute(ContainerInterface $app)
14
    {
15
    }
16
17
    public function offsetExists($offset)
18
    {
19
    }
20
21
    public function offsetGet($offset)
22
    {
23
    }
24
25
    public function offsetSet($offset, $value)
26
    {
27
    }
28
29
    public function offsetUnset($offset)
30
    {
31
    }
32
}
33