for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ivory\Utils;
/**
* Provides an implementation of the {@link IEqualable} interface, comparing objects using the PHP `==` operator.
*/
trait EqualableWithPhpOperators
{
final public function equals($object)
if ($object === null) {
return null;
} else {
return ($this == $object);
}