Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class IdentityGetCommand extends Command |
||
8 | { |
||
9 | /** |
||
10 | * The name and signature of the console command. |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $signature = 'identity:get |
||
15 | {--l|limit= : Get identity number} |
||
16 | {--P|province= : Set province,like `北京市`} |
||
17 | {--S|sex= : Set Sex,like `男`} |
||
18 | {--B|birth= : Set birth,like xxxx-xx-xx}'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Get Chinese ID Number.'; |
||
26 | |||
27 | /** |
||
28 | * Create a new command instance. |
||
29 | * |
||
30 | * @return void |
||
31 | */ |
||
32 | public function __construct() |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Execute the console command. |
||
39 | * |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function handle() |
||
62 |