for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the xAPI package.
*
* (c) Christian Flothmann <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Xabbuh\XApi\Model;
/**
* The object of a {@link Statement}.
* @author Christian Flothmann <[email protected]>
abstract class StatementObject
{
* Checks if another object is equal.
* Two objects are equal if and only if all of their properties are equal.
* @param StatementObject $object The object to compare with
* @return bool True if the objects are equal, false otherwise
public function equals(StatementObject $object)
return get_class($this) === get_class($object);
}