該類實現了PHP 的 __toString 方法,因此您可以將對象 __toString 轉換為字符串: $uuid = (string) $records[0]->getId();. 使用 Ramsey\\Uuid\\Uuid 您可以以多種 ...
確定! 回上一頁