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

OptionsMethodModule::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
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