MappingsProvider::register()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

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