index/src/IEquatable.php

19 lines
390 B
PHP
Raw Normal View History

2022-09-13 13:13:11 +00:00
<?php
// IEquatable.php
// Created: 2021-04-26
// Updated: 2021-05-12
namespace Index;
/**
* Provides an interface for determining the value-equality of two objects.
*/
interface IEquatable {
/**
* Checks whether the current object is equal to another.
*
* @return bool true if the objects are equals, false if not.
*/
function equals(mixed $other): bool;
}