public function getOriginalEmbeddedOneValue($name)
    {
        if (Archive::has($this, 'embedded_one.'.$name)) {
            return Archive::get($this, 'embedded_one.'.$name);
        }

        if (isset($this->data['embeddedsOne'][$name])) {
            return $this->data['embeddedsOne'][$name];
        }

        return null;
    }
public function getOriginalEmbeddedOneValue($name)
    {
        if (Archive::has($this, 'embedded_one.'.$name)) {
            return Archive::get($this, 'embedded_one.'.$name);
        }

        if (isset($this->data['embeddedsOne'][$name])) {
            return $this->data['embeddedsOne'][$name];
        }

        return null;
    }
public function getOriginalEmbeddedOneValue ( $ name ) { if ( Archive :: has ( $ this , 'embedded_one.' . $ name ) ) { return Archive :: get ( $ this , 'embedded_one.' . $ name ) ; } if ( isset ( $ this -> data [ 'embeddedsOne' ] [ $ name ] ) ) { return $ this -> data [ 'embeddedsOne' ] [ $ name ] ; } return null ; }
Returns the original value of an embedded one.

@param string $name The embedded one name.

@return mixed The embedded one original value.

@api
Returns the original value of an embedded one .