protected static function verifyDependencies() { if (!version_compare(phpversion('mongo'), '1.3.0', '>=')) { throw new \LogicException('Mongo >= 1.3.0 is required.'); } parent::verifyDependencies(); }
protected static function verifyDependencies() { if ('apache2handler' !== php_sapi_name()) { throw new \LogicException('Zend Data Cache only works in apache2handler SAPI.'); } parent::verifyDependencies(); }