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

@return BaseOutput The output object

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