function UuidInterface::equals
Returns true if the UUID is equal to the provided object
The result is true if and only if the argument is not null, is a UUID object, has the same variant, and contains the same value, bit for bit, as the UUID.
Parameters
object|null $other An object to test for equality with this UUID:
Return value
bool True if the other object is equal to this UUID
2 methods override UuidInterface::equals()
- LazyUuidFromString::equals in vendor/
ramsey/ uuid/ src/ Lazy/ LazyUuidFromString.php - Returns true if the UUID is equal to the provided object
- Uuid::equals in vendor/
ramsey/ uuid/ src/ Uuid.php - Returns true if the UUID is equal to the provided object
File
-
vendor/
ramsey/ uuid/ src/ UuidInterface.php, line 64
Class
- UuidInterface
- A UUID is a universally unique identifier adhering to an agreed-upon representation format and standard for generation
Namespace
Ramsey\UuidCode
public function equals(?object $other) : bool;