private function _getopt()
    {
        $shortopts  = OptionConfig::HELP;  // help
        $shortopts .= OptionConfig::PLATFORM . ':';          // platform
        $shortopts .= OptionConfig::OUTPUT_DIR . ':';        // output dir.
        $shortopts .= OptionConfig::SELENIUM_VER . ':';      // Selenium-Standalone-Server Ver.
        $shortopts .= OptionConfig::CHROME_DRIVER_VER . ':'; // ChromeDriver Ver.
        $shortopts .= OptionConfig::GECKO_DRIVER_VER . ':';  // GeckoDriver Ver.
        $shortopts .= OptionConfig::IE_DRIVER_VER . ':';     // IEDriverServer Ver.
        $shortopts .= OptionConfig::OS_BIT_VER . ':';        // bit of OS (Default 32).

        $longopts = array(
            OptionConfig::HELP_LONG . '::', // help
        );

        return getopt($shortopts, $longopts);
    }
private function _getopt()
    {
        $shortopts  = OptionConfig::HELP;  // help
        $shortopts .= OptionConfig::PLATFORM . ':';          // platform
        $shortopts .= OptionConfig::OUTPUT_DIR . ':';        // output dir.
        $shortopts .= OptionConfig::SELENIUM_VER . ':';      // Selenium-Standalone-Server Ver.
        $shortopts .= OptionConfig::CHROME_DRIVER_VER . ':'; // ChromeDriver Ver.
        $shortopts .= OptionConfig::GECKO_DRIVER_VER . ':';  // GeckoDriver Ver.
        $shortopts .= OptionConfig::IE_DRIVER_VER . ':';     // IEDriverServer Ver.
        $shortopts .= OptionConfig::OS_BIT_VER . ':';        // bit of OS (Default 32).

        $longopts = array(
            OptionConfig::HELP_LONG . '::', // help
        );

        return getopt($shortopts, $longopts);
    }
private function _getopt ( ) { $ shortopts = OptionConfig :: HELP ; // help $ shortopts .= OptionConfig :: PLATFORM . ':' ; // platform $ shortopts .= OptionConfig :: OUTPUT_DIR . ':' ; // output dir. $ shortopts .= OptionConfig :: SELENIUM_VER . ':' ; // Selenium-Standalone-Server Ver. $ shortopts .= OptionConfig :: CHROME_DRIVER_VER . ':' ; // ChromeDriver Ver. $ shortopts .= OptionConfig :: GECKO_DRIVER_VER . ':' ; // GeckoDriver Ver. $ shortopts .= OptionConfig :: IE_DRIVER_VER . ':' ; // IEDriverServer Ver. $ shortopts .= OptionConfig :: OS_BIT_VER . ':' ; // bit of OS (Default 32). $ longopts = array ( OptionConfig :: HELP_LONG . '::' , // help ) ; return getopt ( $ shortopts , $ longopts ) ; }
Acquire command line option.

@return array
Acquire command line option .