MultiBindingModule::configure()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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