diff options
author | bjoernr-de <dev@bjoernr.de> | 2016-02-17 13:40:27 +0100 |
---|---|---|
committer | bjoernr-de <dev@bjoernr.de> | 2016-02-17 13:40:27 +0100 |
commit | 94b4ea4007660d0f5d0b58a557089a088ec69853 (patch) | |
tree | d78c021b1ed06774b17f38d6f1f338ba0d4c882b /src/Calls/GetRootCertsRaw.php | |
parent | 525756aa812a0c8f283d240336d0fdc07a1e6220 (diff) | |
download | php-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.php | 35 |
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 |