Completed
Push — master ( 22c257...e714e6 )
by Gabriel
13:14 queued 10:09
created

ViewServiceProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 24
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 3 1
A provides() 0 3 1
A registerFactory() 0 2 1
1
<?php
2
3
namespace Nip\View;
4
5
use Nip\Container\ServiceProviders\Providers\AbstractServiceProvider;
6
7
/**
8
 * Class ViewServiceProvider
9
 * @package Nip\View
10
 */
11
class ViewServiceProvider extends AbstractServiceProvider
12
{
13
14
    /**
15
     * Register the service provider.
16
     *
17
     * @return void
18
     */
19
    public function register()
20
    {
21
        $this->registerFactory();
22
    }
23
24
    public function registerFactory()
25
    {
26
    }
27
28
29
    /**
30
     * @inheritdoc
31
     */
32
    public function provides()
33
    {
34
        return ['view','view.finder'];
35
    }
36
}
37