public function save($doc)
    {
        return $this->montage->request(
            'post',
            $this->montage->url('document-save', $this->schema->name),
            ['body' => json_encode($doc)]
        );
    }
public function save($doc)
    {
        return $this->montage->request(
            'post',
            $this->montage->url('document-save', $this->schema->name),
            ['body' => json_encode($doc)]
        );
    }
public function save ( $ doc ) { return $ this -> montage -> request ( 'post' , $ this -> montage -> url ( 'document-save' , $ this -> schema -> name ) , [ 'body' => json_encode ( $ doc ) ] ) ; }
Persist one or more document objects to montage.

@param $doc
@return mixed
Persist one or more document objects to montage .