public function databaseCopy($environmentFromUuid, $dbName, $environmentToUuid)
    {
        $options = [
            'form_params' => [
                'name' => $dbName,
                'source' => $environmentFromUuid,
            ],
        ];

        return new OperationResponse(
            $this->connector->request('post', "/environments/${environmentToUuid}/databases", $this->query, $options)
        );
    }
public function databaseCopy($environmentFromUuid, $dbName, $environmentToUuid)
    {
        $options = [
            'form_params' => [
                'name' => $dbName,
                'source' => $environmentFromUuid,
            ],
        ];

        return new OperationResponse(
            $this->connector->request('post', "/environments/${environmentToUuid}/databases", $this->query, $options)
        );
    }
public function databaseCopy ( $ environmentFromUuid , $ dbName , $ environmentToUuid ) { $ options = [ 'form_params' => [ 'name' => $ dbName , 'source' => $ environmentFromUuid , ] , ] ; return new OperationResponse ( $ this -> connector -> request ( 'post' , "/environments/${environmentToUuid}/databases" , $ this -> query , $ options ) ) ; }
Copies a database from an environment to an environment.

@param string $environmentFromUuid
@param string $dbName
@param string $environmentToUuid
@return OperationResponse
Copies a database from an environment to an environment .