Passed
Push — master ( 562d32...d311da )
by Gabriel
01:39
created

DemoServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 2
eloc 2
c 1
b 1
f 0
dl 0
loc 13
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 2 1
A provides() 0 3 1
1
<?php
2
3
namespace Nip\Container\Tests\Fixtures;
4
5
use Nip\Container\ServiceProviders\Providers\AbstractServiceProvider;
6
7
/**
8
 * Class DemoServiceProvider
9
 * @package Nip\Container\Tests\Fixtures
10
 */
11
class DemoServiceProvider extends AbstractServiceProvider
12
{
13
14
    /**
15
     * @inheritDoc
16
     */
17
    public function provides()
18
    {
19
        return ['dummy'];
20
    }
21
22
    public function register()
23
    {
24
        // TODO: Implement register() method.
25
    }
26
}
27