protected function getEmbeddedObjectAttributes() : array
    {
        $entityMap = $this->getRelatedMapper()->getEntityMap();

        $attributes = $entityMap->getAttributes();
        $properties = $entityMap->getProperties();

        return array_merge($attributes, $properties);
    }
protected function getEmbeddedObjectAttributes() : array
    {
        $entityMap = $this->getRelatedMapper()->getEntityMap();

        $attributes = $entityMap->getAttributes();
        $properties = $entityMap->getProperties();

        return array_merge($attributes, $properties);
    }
protected function getEmbeddedObjectAttributes ( ) : array { $ entityMap = $ this -> getRelatedMapper ( ) -> getEntityMap ( ) ; $ attributes = $ entityMap -> getAttributes ( ) ; $ properties = $ entityMap -> getProperties ( ) ; return array_merge ( $ attributes , $ properties ) ; }
Get the embedded object's attributes that will be
hydrated using parent's entity attributes.

@return array
Get the embedded object s attributes that will be hydrated using parent s entity attributes .