summaryrefslogtreecommitdiffstats
path: root/src/Calls/GetRootCertsRaw.php
blob: b47a6ec0345b601ed45ea19302b5dde8a55ed465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace BjoernrDe\SSLLabsApi\Calls;

/**
 * API Call 'getRootCertsRaw'
 *
 * @author Björn Roland
 */

class GetRootCertsRaw extends GenericCall
{
	/**
	 * Class constructor
	 */
	public function __construct()
	{
		parent::__construct('getRootCertsRaw', null);
	}

	/**
	 * Send API call
	 *
	 * @return string
	 * @see BjoernrDe\SSLLabsApi\Calls\GenericCall::send()
	 */
	public function send()
	{
		$response = parent::send();

		//getRootCertsRaw API call does not respond with an object
		//Just raw output of root certificates

		return ($response);
	}
}