src/GameOfLife/OptionHandler/OptionParser.php
/**
     * Parses the input options and returns the Input object.
     *
     * @param Getopt $_options The option list
     *
     * @return BaseInput The input object
     *
     * @throws \Exception The exceptions of the input constructors
     */
Parses the input options and returns the Input object.
@param Getopt $_options The option list

@return BaseInput The input object

@throws \Exception The exceptions of the input constructors
Parses the input options and returns the Input object . @param Getopt $_options The option list @return BaseInput The input object @throws \ Exception The exceptions of the input constructors
public function parseInputOptions(Getopt $_options): BaseInput
    {
        $input = $this->parseClassOptions($_options, "input", "Input", "Input");
        if ($input) return $input;
        else return new TemplateInput();
    }
public function parseInputOptions ( Getopt $ _options ) : BaseInput { $ input = $ this -> parseClassOptions ( $ _options , " input " , " Input " , " Input " ) ; if ( $ input ) return $ input ; else return new TemplateInput ( ) ; }
Parses the input options and returns the Input object.
Parses the input options and returns the Input object .