/**
* Check APC extension
*
* @param array $settings
* @throws ComponentException
*/
public function __construct($settings = [])
{
if (!extension_loaded('apc')) {
$msg = "APC extension not installed/enabled.\n Install and/or enable APC extension. See phpinfo() for more information";
throw new ComponentException($msg);
}
parent::__construct($settings);
}