/** * Returns a human readable string representation from the given $value * * @param Value $value * * @return string */ public function getName(SPIValue $value) { return $value->__toString(); }
public function toPersistenceValue(SPIValue $value) { return new PersistenceValue(array("data" => $value->__toString(), "externalData" => null, "sortKey" => null)); }