public __construct ( array $settings = [] ) | ||
$settings | array | setup adapter |
public function __construct($settings = [])
{
$this->settings = array_replace_recursive($this->settings, $settings);
}
/** * 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); }