for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Equip\Data\Traits;
use Equip\Data\DiffableInterface;
trait DiffableTrait
{
/**
* Get the difference between an object and some values
*
* @param DiffableInterface $object
* @param array $values
* @return array
*/
private function diff(DiffableInterface $object, array $values)
return $object->diff($values);
}