src/GameOfLife/Inputs/BoardEditor/Options/UndoOption.php
/**
     * Restores the previous board in the BoardEditors history.
     *
     * @throws \Exception
     */
Restores the previous board in the BoardEditors history.
@throws \Exception
Restores the previous board in the BoardEditors history . @throws \ Exception
public function restoreLastBoard()
    {
        $this->parentBoardEditor->restorePreviousBoard();
        $this->parentBoardEditor->outputBoard("Previous board restored.");
        return false;
    }
public function restoreLastBoard ( ) { $ this -> parentBoardEditor -> restorePreviousBoard ( ) ; $ this -> parentBoardEditor -> outputBoard ( " Previous board restored. " ) ; return false ; }
Restores the previous board in the BoardEditors history.
Restores the previous board in the BoardEditors history .