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

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

        $object->assignIdentifier($identifier);
    }
public function assignIdentifier ( $ object , array $ identifier ) : void { if ( ! $ object instanceof IdentifiableInterface ) { throw new InvalidArgumentException ( sprintf ( '%s must implement IdentifiableInterface.' , get_class ( $ object ) ) ) ; } $ object -> assignIdentifier ( $ identifier ) ; }
Assign identifier to object.

@param object  $object
@param mixed[] $identifier
Assign identifier to object .