args = ServerStartCommand::exportOptionArray(); } public function withConfig(array $config): InstantApplication { // TODO: 完成patch config return $this; } public function withArgs(array $args): InstantApplication { $this->args = array_replace_recursive($this->args, $args); return $this; } /** * @throws \Exception */ public function run() { (new Framework($this->args))->init()->start(); } }