You are here

public function PHPExcel_CachedObjectStorage_Memcache::failureCallback in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Memcache.php \PHPExcel_CachedObjectStorage_Memcache::failureCallback()

* Memcache error handler * *

Parameters

string $host Memcache server: * @param integer $port Memcache port

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Memcache.php, line 283

Class

PHPExcel_CachedObjectStorage_Memcache
PHPExcel_CachedObjectStorage_Memcache

Code

public function failureCallback($host, $port) {
  throw new PHPExcel_Exception('memcache ' . $host . ':' . $port . ' failed');
}