The given object must contain the Persistence_Object_Identifier property, thus
the PersistenceMagicInterface type hint. A "new" object does not necessarily
have to be known by any repository or be persisted in the end.
Objects registered with this method must be known to the getObjectByIdentifier()
method.
public registerNewObject ( Aspect\PersistenceMagicInterface $object ) : void | ||
$object | Aspect\PersistenceMagicInterface | The new object to register |
return | void |