__toString() абстрактный публичный Метод

Returns a string representation of the field value.
abstract public __toString ( ) : string
Результат string
Пример #1
0
 protected function checkValueStructure(CoreValue $value)
 {
     if ($value->__toString() === '') {
         throw new InvalidArgumentValue('$value->id', 'empty', $value->__toString());
     }
 }