Checks that xcache.admin.enable_auth is Off
void
\BadMethodCallException When xcache.admin.enable_auth is On
protected function checkAuthorization() {
if (ini_get('xcache.admin.enable_auth')) {
throw new \BadMethodCallException('To use all features of \\Doctrine\\Common\\Cache\\XcacheCache, you must set "xcache.admin.enable_auth" to "Off" in your php.ini.');
}
}