protected function checkService() { $SPLInstalled = InstallUtil::checkSPL(); if ($SPLInstalled) { $this->message = Zurmo::t('InstallModule', 'SPL extension is loaded.'); return true; } else { $this->message = Zurmo::t('InstallModule', 'SPL extension is not loaded.'); return false; } }
/** * Simple test to confirm the check doesnt break. */ public function testCheckSPL() { $this->assertNotNull(InstallUtil::checkSPL()); }