lib/Doctrine/SkeletonMapper/Persister/BasicObjectPersister.php
public function prepareUpdateChangeSet($object, ChangeSet $changeSet) : array
    {
        if (! $object instanceof PersistableInterface) {
            throw new InvalidArgumentException(sprintf('%s must implement PersistableInterface.', get_class($object)));
        }

        return $object->prepareUpdateChangeSet($changeSet);
    }
public function prepareUpdateChangeSet($object, ChangeSet $changeSet) : array
    {
        if (! $object instanceof PersistableInterface) {
            throw new InvalidArgumentException(sprintf('%s must implement PersistableInterface.', get_class($object)));
        }

        return $object->prepareUpdateChangeSet($changeSet);
    }
public function prepareUpdateChangeSet ( $ object , ChangeSet $ changeSet ) : array { if ( ! $ object instanceof PersistableInterface ) { throw new InvalidArgumentException ( sprintf ( '%s must implement PersistableInterface.' , get_class ( $ object ) ) ) ; } return $ object -> prepareUpdateChangeSet ( $ changeSet ) ; }
Prepares an object changeset for update.

@param object $object

@return mixed[]
Prepares an object changeset for update .