src/GameOfLife/Outputs/ConsoleOutput.php
/**
     * Finish output (Display that simulation is finished, write files and delete temporary files).
     *
     * @param String $_simulationEndReason The reason why the simulation ended
     */
Finish output (Display that simulation is finished, write files and delete temporary files).
@param String $_simulationEndReason The reason why the simulation ended
Finish output ( Display that simulation is finished write files and delete temporary files ) . @param String $_simulationEndReason The reason why the simulation ended
public function finishOutput(String $_simulationEndReason)
    {
        parent::finishOutput($_simulationEndReason);
        $additionalNewLine = "";
        if (stristr(PHP_OS, "linux")) $additionalNewLine = "\n";
        echo str_repeat("\n", $this->numberOfNewLinesFinishOutput) . $additionalNewLine;
    }
public function finishOutput ( String $ _simulationEndReason ) { parent :: finishOutput ( $ _simulationEndReason ) ; $ additionalNewLine = " " ; if ( stristr ( PHP_OS , " linux " ) ) $ additionalNewLine = " \n " ; echo str_repeat ( " \n " , $ this -> numberOfNewLinesFinishOutput ) . $ additionalNewLine ; }
Finish output (Display that simulation is finished, write files and delete temporary files).
Finish output ( Display that simulation is finished write files and delete temporary files ) .