src/Model/Project.php
public function addCertificate($certificate, $key, array $chain = [])
    {
        $options = ['key' => $key, 'certificate' => $certificate, 'chain' => $chain];

        return Certificate::create($options, $this->getUri() . '/certificates', $this->client);
    }
public function addCertificate($certificate, $key, array $chain = [])
    {
        $options = ['key' => $key, 'certificate' => $certificate, 'chain' => $chain];

        return Certificate::create($options, $this->getUri() . '/certificates', $this->client);
    }
public function addCertificate ( $ certificate , $ key , array $ chain = [ ] ) { $ options = [ 'key' => $ key , 'certificate' => $ certificate , 'chain' => $ chain ] ; return Certificate :: create ( $ options , $ this -> getUri ( ) . '/certificates' , $ this -> client ) ; }
Add a certificate to the project.

@param string $certificate
@param string $key
@param array  $chain

@return Result
Add a certificate to the project .