/**
  * @param $char
  * @return \Nonogram\Cell\CellBox|\Nonogram\Cell\CellEmpty
  */
 protected function convertRawToCell($char)
 {
     $this->cellFactory->setStatusHidden(false);
     if ($this->getBoxChar() === $char) {
         $cell = $this->cellFactory->getBox();
     } else {
         $cell = $this->cellFactory->getEmpty();
     }
     return $cell;
 }
 /**
  * AbstractRuleJ54 constructor.
  * @param \Nonogram\Cell\Factory $cellFactory
  */
 public function __construct(\Nonogram\Cell\Factory $cellFactory)
 {
     $this->cellFactory = $cellFactory;
     $this->cellFactory->setStatusHidden(false);
 }