protected function defArgConfigure(): void
    {
        $this->createDefinition()
            ->setDescription('the command arg/opt config use defined configure, it like symfony console: argument define by position')
            ->addArgument('name', Input::ARG_REQUIRED, "description for the argument 'name'")
            ->addOption('yes', 'y', Input::OPT_BOOLEAN, "description for the option 'yes'")
            ->addOption('opt1', null, Input::OPT_REQUIRED, "description for the option 'opt1'");
    }
protected function defArgConfigure(): void
    {
        $this->createDefinition()
            ->setDescription('the command arg/opt config use defined configure, it like symfony console: argument define by position')
            ->addArgument('name', Input::ARG_REQUIRED, "description for the argument 'name'")
            ->addOption('yes', 'y', Input::OPT_BOOLEAN, "description for the option 'yes'")
            ->addOption('opt1', null, Input::OPT_REQUIRED, "description for the option 'opt1'");
    }
protected function defArgConfigure ( ) : void { $ this -> createDefinition ( ) -> setDescription ( 'the command arg/opt config use defined configure, it like symfony console: argument define by position' ) -> addArgument ( 'name' , Input :: ARG_REQUIRED , "description for the argument 'name'" ) -> addOption ( 'yes' , 'y' , Input :: OPT_BOOLEAN , "description for the option 'yes'" ) -> addOption ( 'opt1' , null , Input :: OPT_REQUIRED , "description for the option 'opt1'" ) ; }
command `defArgCommand` config
@throws \LogicException
command defArgCommand config