Exemple #1
0
 /**
  * @param $matches
  * @return mixed
  *
  * @SuppressWarnings(PHPMD.UnusedPrivateMethod)
  */
 private function translateMatch($matches)
 {
     $cellName = $matches[1];
     /** @var Cell $cell */
     $cell = $this->row->getCellByCellName($cellName);
     if (!$cell) {
         return $matches[0];
     }
     return $cell->getCellData();
 }