src/Entity/Embeddable/Objects/AbstractEmbeddableObject.php
protected function notifyEmbeddablePrefixedProperties(
        ?string $propName = null,
        $oldValue = null,
        $newValue = null
    ): void {
        if (null === $this->owningEntity) {
            return;
        }
        $this->owningEntity->notifyEmbeddablePrefixedProperties(
            $this->getPrefix(),
            $propName,
            $oldValue,
            $newValue
        );
    }
protected function notifyEmbeddablePrefixedProperties(
        ?string $propName = null,
        $oldValue = null,
        $newValue = null
    ): void {
        if (null === $this->owningEntity) {
            return;
        }
        $this->owningEntity->notifyEmbeddablePrefixedProperties(
            $this->getPrefix(),
            $propName,
            $oldValue,
            $newValue
        );
    }
protected function notifyEmbeddablePrefixedProperties ( ? string $ propName = null , $ oldValue = null , $ newValue = null ) : void { if ( null === $ this -> owningEntity ) { return ; } $ this -> owningEntity -> notifyEmbeddablePrefixedProperties ( $ this -> getPrefix ( ) , $ propName , $ oldValue , $ newValue ) ; }
If we are attached to an owning Entity, then we need to use it to Notify the Unit of Work about changes

If we are not attached, then do nothing. When we are attached, this should be triggered automatically

@param null|string $propName
@param null|mixed  $oldValue
@param null|mixed  $newValue
If we are attached to an owning Entity then we need to use it to Notify the Unit of Work about changes