Completed
Push — develop ( 5a8a22...72aeee )
by Baptiste
02:16
created

ContainerBuilder::__invoke()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 7
ccs 3
cts 3
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
crap 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\Compose;
5
6
use Innmind\Url\PathInterface;
7
use Innmind\Immutable\MapInterface;
8
use Psr\Container\ContainerInterface;
9
10
interface ContainerBuilder
11
{
12
    /**
13
     * @param MapInterface<string, mixed> $arguments
14
     */
15
    public function __invoke(
16
        PathInterface $definition,
17
        MapInterface $arguments
18
    ): ContainerInterface;
19
}
20