| 1 | <?php |
||
| 12 | class StkStatus extends Command |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The name and signature of the console command. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $signature = 'mpesa:query_status'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * The console command description. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $description = 'Check status of all pending transactions'; |
||
| 27 | /** |
||
| 28 | * @var Mpesa |
||
| 29 | */ |
||
| 30 | private $mpesa; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create a new command instance. |
||
| 34 | * |
||
| 35 | * @param Mpesa $registerUrl |
||
| 36 | */ |
||
| 37 | 1 | public function __construct(Mpesa $registerUrl) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Execute the console command. |
||
| 45 | * |
||
| 46 | */ |
||
| 47 | public function handle() |
||
| 52 | } |
||
| 53 |