Пример #1
0
 public function getReadableContent(array $options = [])
 {
     $handler = $this->type->getTypeHandler();
     return $handler::makeStringFromData($this->varEntry['data'], $options);
 }
Пример #2
0
 public function supportsType(TIVarType $type)
 {
     $exts = $type->getExts();
     return isset($exts[$this->orderID]) && $exts[$this->orderID] !== null;
 }