芝麻web文件管理V1.00
编辑当前文件:/home/palsarh/web/palsarh.in/public_html/vendor/ramsey/uuid/src/Rfc4122/NilTrait.php
* @license http://opensource.org/licenses/MIT MIT */ declare(strict_types=1); namespace Ramsey\Uuid\Rfc4122; /** * Provides common functionality for nil UUIDs * * @immutable */ trait NilTrait { /** * Returns the bytes that comprise the fields * * @pure */ abstract public function getBytes(): string; /** * Returns true if the byte string represents a nil UUID */ public function isNil(): bool { return $this->getBytes() === "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; } }