$config From .runway-config.json */ public function __construct(array $config) { parent::__construct('ppob:check', 'Check Status of PPOB Transaction from Server', $config); } /** * Executes the function * @return void */ public function execute() { $io = $this->io(); require ($this->projectRoot . '/app/config/runway.php'); $ppob = new PPOBClient($app); $status = $ppob->CheckTrx(); $io->comment("Status : ".$status['Status'], true); $io->comment("Message : ".$status['Message'], true); $io->ok("Done.", true); } }