ExampleService::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: 下午2:47.
7
 */
8
9
namespace Reallyli\LaravelUnicomponent\Tests\Example;
10
11
use Reallyli\LaravelUnicomponent\UnicomponentServiceInterface;
12
13
class ExampleService implements UnicomponentServiceInterface
14
{
15
    /**
16
     * Method description:alias.
17
     *
18
     * @author reallyli <[email protected]>
19
     * @since 18/10/11
20
     * @param
21
     * @return mixed
22
     * 返回值类型:string,array,object,mixed(多种,不确定的),void(无返回值)
23
     */
24
    public function alias()
25
    {
26
        return 'example';
27
    }
28
29
    /**
30
     * Method description:provider.
31
     *
32
     * @author reallyli <[email protected]>
33
     * @since 18/10/11
34
     * @param
35
     * @return mixed
36
     * 返回值类型:string,array,object,mixed(多种,不确定的),void(无返回值)
37
     */
38
    public function provider()
39
    {
40
        return Example::class;
41
    }
42
}
43