Pimcore\Model\Object\Data\KeyValue::__toString PHP Метод

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

public __toString ( ) : string
Результат string
    public function __toString()
    {
        $str = "Object\\Data\\KeyValue oid=" . $this->objectId . "\n";
        $props = $this->getInternalProperties();
        if (is_array($props)) {
            foreach ($props as $prop) {
                $str .= "    " . $prop["key"] . "=>" . $prop["value"] . "\n";
            }
        }
        return $str;
    }