Passed
Push — visitor ( 36593a...2e0d31 )
by Akihito
02:04
created

MapModule::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Di;
6
7
use Ray\Di\MultiBinding\Map;
8
use Ray\Di\MultiBinding\MapProvider;
9
10
class MapModule extends AbstractModule
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    protected function configure(): void
16
    {
17
        $this->bind(Map::class)->toProvider(MapProvider::class);
18
    }
19
}
20