Completed
Push — 1.x ( 4683b3...5d021d )
by Akihito
05:24 queued 03:14
created

OptionsMethodModule   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

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 0
cts 4
cp 0
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.Resource package.
4
 *
5
 * @license http://opensource.org/licenses/MIT MIT
6
 */
7
namespace BEAR\Resource\Module;
8
9
use BEAR\Resource\OptionsRenderer;
10
use BEAR\Resource\RenderInterface;
11
use Ray\Di\AbstractModule;
12
13
class OptionsMethodModule extends AbstractModule
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    protected function configure()
19
    {
20
        $this->bind(RenderInterface::class)->annotatedWith('options')->to(OptionsRenderer::class);
21
    }
22
}
23