protected function getPHPActionOption() : array
    {
        $result = [];
        $answer = $this->io->askAndValidate(
            '  <info>Specify options key and value</info> <comment>[key:value]</comment> ',
            ['\\CaptainHook\\App\\Runner\\Config\\Setup\\Guided', 'isPHPActionOptionValid'],
            3,
            null
        );
        if (null !== $answer) {
            list($key, $value) = explode(':', $answer);
            $result = [$key => $value];
        }
        return $result;
    }
protected function getPHPActionOption() : array
    {
        $result = [];
        $answer = $this->io->askAndValidate(
            '  <info>Specify options key and value</info> <comment>[key:value]</comment> ',
            ['\\CaptainHook\\App\\Runner\\Config\\Setup\\Guided', 'isPHPActionOptionValid'],
            3,
            null
        );
        if (null !== $answer) {
            list($key, $value) = explode(':', $answer);
            $result = [$key => $value];
        }
        return $result;
    }
protected function getPHPActionOption ( ) : array { $ result = [ ] ; $ answer = $ this -> io -> askAndValidate ( '  <info>Specify options key and value</info> <comment>[key:value]</comment> ' , [ '\\CaptainHook\\App\\Runner\\Config\\Setup\\Guided' , 'isPHPActionOptionValid' ] , 3 , null ) ; if ( null !== $ answer ) { list ( $ key , $ value ) = explode ( ':' , $ answer ) ; $ result = [ $ key => $ value ] ; } return $ result ; }
Ask the user for a php action option

@return array
@throws \Exception
Ask the user for a php action option