D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
advisor
/
vendor
/
icecave
/
parity
/
src
/
Filename :
AnyComparable.php
back
Copy
<?php namespace PleskAdvisor\Icecave\Parity; /** * An object that can be compared to any other value. */ interface AnyComparable { /** * Compare this object with another value, yielding a result according to * the following table: * * +--------------------+---------------+ * | Condition | Result | * +--------------------+---------------+ * | $this == $value | $result === 0 | * | $this < $value | $result < 0 | * | $this > $value | $result > 0 | * +--------------------+---------------+ * * @param mixed $value The value to compare. * * @return int The result of the comparison. */ public function compare($value) : int; }