Пример #1
0
 private function checkIfFormHasEmptyBox(\model\Board $board)
 {
     $boxes = $board->getBoxes();
     for ($i = 0; $i <= 8; $i++) {
         if ($boxes[$i] == '') {
             return true;
         }
     }
     return false;
 }