protected function getPHPActionOptions() : array
    {
        $options = [];
        $addOption = $this->io->ask('  <info>Add a validator option?</info> <comment>[y,n]</comment> ', 'n');
        while (IOUtil::answerToBool($addOption)) {
            $options = array_merge($options, $this->getPHPActionOption());
            // add another action?
            $addOption = $this->io->ask('  <info>Add another validator option?</info> <comment>[y,n]</comment> ', 'n');
        }
        return $options;
    }
protected function getPHPActionOptions() : array
    {
        $options = [];
        $addOption = $this->io->ask('  <info>Add a validator option?</info> <comment>[y,n]</comment> ', 'n');
        while (IOUtil::answerToBool($addOption)) {
            $options = array_merge($options, $this->getPHPActionOption());
            // add another action?
            $addOption = $this->io->ask('  <info>Add another validator option?</info> <comment>[y,n]</comment> ', 'n');
        }
        return $options;
    }
protected function getPHPActionOptions ( ) : array { $ options = [ ] ; $ addOption = $ this -> io -> ask ( '  <info>Add a validator option?</info> <comment>[y,n]</comment> ' , 'n' ) ; while ( IOUtil :: answerToBool ( $ addOption ) ) { $ options = array_merge ( $ options , $ this -> getPHPActionOption ( ) ) ; // add another action? $ addOption = $ this -> io -> ask ( '  <info>Add another validator option?</info> <comment>[y,n]</comment> ' , 'n' ) ; } return $ options ; }
Get the php action options

@return array
@throws \Exception
Get the php action options