LogFormatterService   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 12
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A alias() 0 4 1
A provider() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: reallyli
5
 * Date: 18/10/11
6
 * Time: 上午11:21.
7
 */
8
9
namespace Reallyli\LaravelUnicomponent\Components\LogFormatter;
10
11
use Reallyli\LaravelUnicomponent\UnicomponentServiceInterface;
12
13
class LogFormatterService implements UnicomponentServiceInterface
14
{
15
    public function alias()
16
    {
17
        return 'logFormatter';
18
    }
19
20
    public function provider()
21
    {
22
        return LogFormatter::class;
23
    }
24
}
25