src/Formatter.php
public function getEmbedOneDbValue(EmbeddedPropMetadata $embeddedPropMeta, Embed $embed = null)
    {
        if (null === $embed) {
            return;
        }
        return $this->createEmbed($embeddedPropMeta, $embed);
    }
public function getEmbedOneDbValue(EmbeddedPropMetadata $embeddedPropMeta, Embed $embed = null)
    {
        if (null === $embed) {
            return;
        }
        return $this->createEmbed($embeddedPropMeta, $embed);
    }
public function getEmbedOneDbValue ( EmbeddedPropMetadata $ embeddedPropMeta , Embed $ embed = null ) { if ( null === $ embed ) { return ; } return $ this -> createEmbed ( $ embeddedPropMeta , $ embed ) ; }
Prepares and formats a has-one embed for proper insertion into the database.

@param   EmbeddedPropMetadata    $embeddedPropMeta
@param   Embed|null              $embed
@return  mixed
Prepares and formats a has - one embed for proper insertion into the database .