src/FlexiPeeHP/FlexiBeeRW.php
public function sync($data = null)
    {
        $this->insertToFlexiBee($data);
        $insertResult = $this->lastResponseCode;
        if ($insertResult == 201) {
            $this->reload();
        }
        $loadResult = $this->lastResponseCode;
        return ($insertResult + $loadResult) == 401;
    }
public function sync($data = null)
    {
        $this->insertToFlexiBee($data);
        $insertResult = $this->lastResponseCode;
        if ($insertResult == 201) {
            $this->reload();
        }
        $loadResult = $this->lastResponseCode;
        return ($insertResult + $loadResult) == 401;
    }
public function sync ( $ data = null ) { $ this -> insertToFlexiBee ( $ data ) ; $ insertResult = $ this -> lastResponseCode ; if ( $ insertResult == 201 ) { $ this -> reload ( ) ; } $ loadResult = $ this -> lastResponseCode ; return ( $ insertResult + $ loadResult ) == 401 ; }
Insert current data into FlexiBee and load actual record data back

@param array $data Initial data to save

@return boolean Operation success
Insert current data into FlexiBee and load actual record data back