eZ\Publish\Core\FieldType\Value::__toString PHP 메소드

__toString() 추상적인 공개 메소드

Returns a string representation of the field value.
abstract public __toString ( ) : string
리턴 string
    public abstract function __toString();

Usage Example

예제 #1
0
 protected function checkValueStructure(CoreValue $value)
 {
     if ($value->__toString() === '') {
         throw new InvalidArgumentValue('$value->id', 'empty', $value->__toString());
     }
 }