PHP code example of leedohyung-dba / ses-topic-sniffer
1. Go to this page and download the library: Download leedohyung-dba/ses-topic-sniffer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
leedohyung-dba / ses-topic-sniffer example snippets
use SesTopicSniffer\SesTopicSniffer;
$this->SesTopicSniffer = SesTopicSniffer::getInstance($snsRequestData->Message);
if (empty($this->SesTopicSniffer)) {
return;
}
if ($this->SesTopicSniffer->isNotFactOrEqualSesStd()) {
$this->sesStdStatusCtlHandler();
} else {
$this->realStatusCtlHandler();
}
// get info the ses standard status
$this->SesTopicSniffer->sesStdStatus
// get info the real status
$this->SesTopicSniffer->realStatus