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

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

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

@param object $object

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