public function insertOrReplaceEntity(
        $table,
        Entity $entity,
        TableServiceOptions $options = null
    ) {
        return $this->insertOrReplaceEntityAsync(
            $table,
            $entity,
            $options
        )->wait();
    }
public function insertOrReplaceEntity(
        $table,
        Entity $entity,
        TableServiceOptions $options = null
    ) {
        return $this->insertOrReplaceEntityAsync(
            $table,
            $entity,
            $options
        )->wait();
    }
public function insertOrReplaceEntity ( $ table , Entity $ entity , TableServiceOptions $ options = null ) { return $ this -> insertOrReplaceEntityAsync ( $ table , $ entity , $ options ) -> wait ( ) ; }
Replaces an existing entity or inserts a new entity if it does not exist in
the table.

@param string              $table   name of the table
@param Entity              $entity  table entity
@param TableServiceOptions $options optional parameters

@return UpdateEntityResult

@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452242.aspx
Replaces an existing entity or inserts a new entity if it does not exist in the table .