summaryrefslogtreecommitdiffstats
path: root/src/Calls/GetRootCertsRaw.php
diff options
context:
space:
mode:
authorbjoernr-de <dev@bjoernr.de>2016-02-17 13:40:27 +0100
committerbjoernr-de <dev@bjoernr.de>2016-02-17 13:40:27 +0100
commit94b4ea4007660d0f5d0b58a557089a088ec69853 (patch)
treed78c021b1ed06774b17f38d6f1f338ba0d4c882b /src/Calls/GetRootCertsRaw.php
parent525756aa812a0c8f283d240336d0fdc07a1e6220 (diff)
downloadphp-ssllabs-api-origin/refactoring.zip
php-ssllabs-api-origin/refactoring.tar.gz
php-ssllabs-api-origin/refactoring.tar.bz2
Added getRootCertsRaw API callorigin/refactoring
Diffstat (limited to 'src/Calls/GetRootCertsRaw.php')
-rw-r--r--src/Calls/GetRootCertsRaw.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Calls/GetRootCertsRaw.php b/src/Calls/GetRootCertsRaw.php
new file mode 100644
index 0000000..b47a6ec
--- /dev/null
+++ b/src/Calls/GetRootCertsRaw.php
@@ -0,0 +1,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);
+ }
+} \ No newline at end of file