1 | <?php |
||
10 | class CodeSniffer extends Command implements SelfHandling |
||
11 | { |
||
12 | /** |
||
13 | * The name and signature of the console command. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $signature = 'format'; |
||
18 | |||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = '格式化代码'; |
||
25 | |||
26 | /** |
||
27 | * Create a new command instance. |
||
28 | */ |
||
29 | public function __construct() |
||
33 | |||
34 | /** |
||
35 | * Execute the console command. |
||
36 | * |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public function handle() |
||
57 | } |
||
58 |