src/Game.php
private function winningValues()
    {
        return array_merge(
        // rows
            $this->board->getBoard(),
            // columns
            $this->transpose($this->board->getBoard()),
            // diagonals
            $this->diagonals()
        );
    }
private function winningValues()
    {
        return array_merge(
        // rows
            $this->board->getBoard(),
            // columns
            $this->transpose($this->board->getBoard()),
            // diagonals
            $this->diagonals()
        );
    }
private function winningValues ( ) { return array_merge ( // rows $ this -> board -> getBoard ( ) , // columns $ this -> transpose ( $ this -> board -> getBoard ( ) ) , // diagonals $ this -> diagonals ( ) ) ; }
Determine winning values

@return array
Determine winning values