Passed
Push — 5.2 ( af64fa...8b63b2 )
by
unknown
02:49
created

Console::getFacadeClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
// +----------------------------------------------------------------------
1 ignored issue
show
Coding Style introduced by
You must use "/**" style comments for a file comment
Loading history...
3
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
4
// +----------------------------------------------------------------------
5
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
6
// +----------------------------------------------------------------------
7
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
8
// +----------------------------------------------------------------------
9
// | Author: yunwuxin <[email protected]>
10
// +----------------------------------------------------------------------
11
declare (strict_types = 1);
12
13
namespace think\facade;
14
15
use think\Facade;
16
17
/**
18
 * Class Console
19
 * @package think\facade
0 ignored issues
show
Coding Style introduced by
Package name "think\facade" is not valid; consider "Thinkfacade" instead
Loading history...
20
 * @method call(string $command, array $parameters = [], string $driver = 'buffer') static
1 ignored issue
show
Coding Style introduced by
Tag value indented incorrectly; expected 2 spaces but found 1
Loading history...
21
 */
4 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
22
class Console extends Facade
23
{
24
    /**
25
     * 获取当前Facade对应类名(或者已经绑定的容器对象标识)
26
     * @access protected
27
     * @return string
28
     */
29
    protected static function getFacadeClass()
30
    {
31
        return 'console';
32
    }
33
}