src/GameOfLife/Outputs/ImageOutput.php
/**
     * Adds the image options to the option list.
     *
     * @param Getopt $_options Current option list
     */
Adds the image options to the option list.
@param Getopt $_options Current option list
Adds the image options to the option list . @param Getopt $_options Current option list
public function addOptions(Getopt $_options)
    {
        $className = basename(str_replace("\\", "/", get_called_class()));
        $_options->addOptions(
            array(
                array(null, $this->optionPrefix . "OutputSize", Getopt::REQUIRED_ARGUMENT, $className . " - Size of a cell in pixels"),
                array(null, $this->optionPrefix . "OutputCellColor", Getopt::REQUIRED_ARGUMENT, $className . " - Color of a cell"),
                array(null, $this->optionPrefix . "OutputBackgroundColor", Getopt::REQUIRED_ARGUMENT, $className . " - Background color"),
                array(null, $this->optionPrefix . "OutputGridColor", Getopt::REQUIRED_ARGUMENT, $className . " - Grid color\n")
            )
        );
    }
public function addOptions ( Getopt $ _options ) { $ className = basename ( str_replace ( " \\ " , " / " , get_called_class ( ) ) ) ; $ _options -> addOptions ( array ( array ( null , $ this -> optionPrefix . " OutputSize " , Getopt :: REQUIRED_ARGUMENT , $ className . "  - Size of a cell in pixels " ) , array ( null , $ this -> optionPrefix . " OutputCellColor " , Getopt :: REQUIRED_ARGUMENT , $ className . "  - Color of a cell " ) , array ( null , $ this -> optionPrefix . " OutputBackgroundColor " , Getopt :: REQUIRED_ARGUMENT , $ className . "  - Background color " ) , array ( null , $ this -> optionPrefix . " OutputGridColor " , Getopt :: REQUIRED_ARGUMENT , $ className . "  - Grid color \n " ) ) ) ; }
Adds the image options to the option list.
Adds the image options to the option list .