src/GameOfLife/GameLogic.php
/**
     * Adds a board to the history of boards.
     *
     * @param String $_fields The fields that will be added to the history of boards
     */
Adds a board to the history of boards.
@param String $_fields The fields that will be added to the history of boards
Adds a board to the history of boards . @param String $_fields The fields that will be added to the history of boards
private function addToHistory(String $_fields)
    {
        $this->historyOfBoards[] = $_fields;
        if (count($this->historyOfBoards) > 15) array_shift($this->historyOfBoards);
    }
private function addToHistory ( String $ _fields ) { $ this -> historyOfBoards [ ] = $ _fields ; if ( count ( $ this -> historyOfBoards ) > 15 ) array_shift ( $ this -> historyOfBoards ) ; }
Adds a board to the history of boards.
Adds a board to the history of boards .