src/Board.php
public function isFull()
    {
        return (bool) (pow($this->size, 2) == count(array_filter(array_reduce($this->getBoard(), 'array_merge', []))));
    }
public function isFull()
    {
        return (bool) (pow($this->size, 2) == count(array_filter(array_reduce($this->getBoard(), 'array_merge', []))));
    }
public function isFull ( ) { return ( bool ) ( pow ( $ this -> size , 2 ) == count ( array_filter ( array_reduce ( $ this -> getBoard ( ) , 'array_merge' , [ ] ) ) ) ) ; }
Check if board is full
@return bool
Check if board is full