private function getPhpDependencies()
 {
     $apl = PostmanPreRequisitesCheck::getState();
     $pluginText = array();
     foreach ($apl as $p) {
         array_push($pluginText, $p['name'] . '=' . ($p['ready'] ? 'Yes' : 'No'));
     }
     return implode(', ', $pluginText);
 }
 private function checkPreRequisites()
 {
     $states = PostmanPreRequisitesCheck::getState();
     foreach ($states as $state) {
         if (!$state['ready']) {
             /* Translators: where %1$s is the name of the library */
             $message = sprintf(__('This PHP installation requires the <b>%1$s</b> library.', 'postman-smtp'), $state['name']);
             if ($state['required']) {
                 $this->messageHandler->addError($message);
             } else {
                 // $this->messageHandler->addWarning ( $message );
             }
         }
     }
 }