public function addOrUpdateMeta($key, $value)
    {
        return $this->hasMeta($key) ? $this->updateMeta($key, $value) : $this->addMeta($key, $value);
    }
public function addOrUpdateMeta($key, $value)
    {
        return $this->hasMeta($key) ? $this->updateMeta($key, $value) : $this->addMeta($key, $value);
    }
public function addOrUpdateMeta ( $ key , $ value ) { return $ this -> hasMeta ( $ key ) ? $ this -> updateMeta ( $ key , $ value ) : $ this -> addMeta ( $ key , $ value ) ; }
Add or update meta if it already exists.
@param  string $key
@param  mixed $value
@return object|bool
Add or update meta if it already exists .