src/GameOfLife/Rules/BaseRule.php
/**
     * Intialize the rule.
     *
     * @param Getopt $_options The option list
     */
Intialize the rule.
@param Getopt $_options The option list
Intialize the rule . @param Getopt $_options The option list
public function initialize(Getopt $_options)
    {
        if ($_options->getOption("antiRules") !== null)
        {
            $this->isAntiRule = true;
            $this->convertToAntiRule();
        }
    }
public function initialize ( Getopt $ _options ) { if ( $ _options -> getOption ( " antiRules " ) !== null ) { $ this -> isAntiRule = true ; $ this -> convertToAntiRule ( ) ; } }
Intialize the rule.
Intialize the rule .