LogFormatterService::alias()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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