1 | <?php |
||
10 | class HashMakeCommand extends Command |
||
11 | { |
||
12 | /** |
||
13 | * The console command signature. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $signature = 'hash:make |
||
18 | {string : Plain string.} |
||
19 | {--cost=10 : Cost of generate.} |
||
20 | '; |
||
21 | |||
22 | /** |
||
23 | * The console command description. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $description = '[+] Make hashed value'; |
||
28 | |||
29 | /** |
||
30 | * Execute the console command. |
||
31 | * |
||
32 | * @return mixed |
||
33 | */ |
||
34 | 2 | public function handle() |
|
44 | } |
||
45 |