Completed
Branch 1.x (cc7bb3)
by Akihito
01:53
created

ErrorModule   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 66.67%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 2
dl 0
loc 10
ccs 2
cts 3
cp 0.6667
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 4 1
1
<?php
2
/**
3
 * This file is part of the BEAR.Sunday package
4
 *
5
 * @license http://opensource.org/licenses/MIT MIT
6
 */
7
namespace BEAR\Sunday\Provide\Error;
8
9
use BEAR\Sunday\Extension\Error\ErrorInterface;
10
use Ray\Di\AbstractModule;
11
12
class ErrorModule extends AbstractModule
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17 3
    protected function configure()
18
    {
19
        $this->bind(ErrorInterface::class)->to(VndError::class);
20 3
    }
21
}
22