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

DemoServiceProvider::provides()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 1
c 1
b 1
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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