public function deployCode($environmentFromUuid, $environmentToUuid, $commitMessage = null)
    {

        $options = [
            'form_params' => [
                'source' => $environmentFromUuid,
                'message' => $commitMessage,
            ],
        ];

        return new OperationResponse(
            $this->connector->request(
                'post',
                "/environments/${environmentToUuid}/code",
                $this->query,
                $options
            )
        );
    }
public function deployCode($environmentFromUuid, $environmentToUuid, $commitMessage = null)
    {

        $options = [
            'form_params' => [
                'source' => $environmentFromUuid,
                'message' => $commitMessage,
            ],
        ];

        return new OperationResponse(
            $this->connector->request(
                'post',
                "/environments/${environmentToUuid}/code",
                $this->query,
                $options
            )
        );
    }
public function deployCode ( $ environmentFromUuid , $ environmentToUuid , $ commitMessage = null ) { $ options = [ 'form_params' => [ 'source' => $ environmentFromUuid , 'message' => $ commitMessage , ] , ] ; return new OperationResponse ( $ this -> connector -> request ( 'post' , "/environments/${environmentToUuid}/code" , $ this -> query , $ options ) ) ; }
Deploys code from one environment to another environment.

@param string $environmentFromUuid
@param string $environmentToUuid
@param string $commitMessage
Deploys code from one environment to another environment .