src/Model/Aggregate/Entity.php
protected function getEmbeddedEntityTypeFor($attribute_name, $embedded_type_prefix)
    {
        $attribute = $this->getType()->getAttribute($attribute_name);

        return $attribute->getEmbeddedTypeByPrefix($embedded_type_prefix);
    }
protected function getEmbeddedEntityTypeFor($attribute_name, $embedded_type_prefix)
    {
        $attribute = $this->getType()->getAttribute($attribute_name);

        return $attribute->getEmbeddedTypeByPrefix($embedded_type_prefix);
    }
protected function getEmbeddedEntityTypeFor ( $ attribute_name , $ embedded_type_prefix ) { $ attribute = $ this -> getType ( ) -> getAttribute ( $ attribute_name ) ; return $ attribute -> getEmbeddedTypeByPrefix ( $ embedded_type_prefix ) ; }
Return the AggregateType that is referred to by the given command.

@param string $attribute_name
@param string $embedded_type_prefix

@return EntityTypeInterface
Return the AggregateType that is referred to by the given command .