public function certonly($email, $webroot, $domains)
    {

        $result = $this->command . ' certonly --webroot --debug --agree-tos';
        $result .= ' --email ' . $email;
        $result .= ' -w ' . $webroot;

        foreach ($domains as $domain) {
            $result .= ' -d ' . $domain;
        }

        return $result;
    }
public function certonly($email, $webroot, $domains)
    {

        $result = $this->command . ' certonly --webroot --debug --agree-tos';
        $result .= ' --email ' . $email;
        $result .= ' -w ' . $webroot;

        foreach ($domains as $domain) {
            $result .= ' -d ' . $domain;
        }

        return $result;
    }
public function certonly ( $ email , $ webroot , $ domains ) { $ result = $ this -> command . ' certonly --webroot --debug --agree-tos' ; $ result .= ' --email ' . $ email ; $ result .= ' -w ' . $ webroot ; foreach ( $ domains as $ domain ) { $ result .= ' -d ' . $ domain ; } return $ result ; }
Issue certificate using standalone webroot

@throws InvalidArgumentException
@param string $config Path to sami.php configuration to use
@return string
Issue certificate using standalone webroot