MappingsProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 6 1
1
<?php
2
3
namespace App\Zapheus;
4
5
use Zapheus\Container\WritableInterface;
6
use Zapheus\Provider\ProviderInterface;
7
8
/**
9
 * Mappings Provider
10
 *
11
 * @package App
12
 * @author  Rougin Gutib <[email protected]>
13
 */
14
class MappingsProvider implements ProviderInterface
15
{
16
    /**
17
     * Registers the bindings in the container.
18
     *
19
     * @param  \Zapheus\Container\WritableInterface $container
20
     * @return \Zapheus\Container\ContainerInterface
21
     */
22 9
    public function register(WritableInterface $container)
23
    {
24
        // Define dependencies below using the $container->set() method.
25
        // Check line 67 of Zapheus\Container\Container for the snippet.
26
27 9
        return $container;
28
    }
29
}
30