| 1 | <?php  | 
            ||
| 9 | class HoneybadgerCheckinCommand extends Command  | 
            ||
| 10 | { | 
            ||
| 11 | /**  | 
            ||
| 12 | * The name and signature of the console command.  | 
            ||
| 13 | *  | 
            ||
| 14 | * @var string  | 
            ||
| 15 | */  | 
            ||
| 16 |     protected $signature = 'honeybadger:checkin {id}'; | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * The console command description.  | 
            ||
| 20 | *  | 
            ||
| 21 | * @var string  | 
            ||
| 22 | */  | 
            ||
| 23 | protected $description = 'Send check-in to Honeybadger';  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * Execute the console command.  | 
            ||
| 27 | *  | 
            ||
| 28 | * @return mixed  | 
            ||
| 29 | */  | 
            ||
| 30 | public function handle(Reporter $honeybadger)  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * Get the API key from input.  | 
            ||
| 42 | *  | 
            ||
| 43 | * @return string  | 
            ||
| 44 | */  | 
            ||
| 45 | private function apiKey() : string  | 
            ||
| 51 | }  | 
            ||
| 52 |