You are here

public static function PHPExcel_CachedObjectStorage_Igbinary::cacheMethodIsAvailable in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Igbinary.php \PHPExcel_CachedObjectStorage_Igbinary::cacheMethodIsAvailable()

* Identify whether the caching method is currently available * Some methods are dependent on the availability of certain extensions being enabled in the PHP build * *

Return value

boolean

Overrides PHPExcel_CachedObjectStorage_CacheBase::cacheMethodIsAvailable

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Igbinary.php, line 144

Class

PHPExcel_CachedObjectStorage_Igbinary
PHPExcel_CachedObjectStorage_Igbinary

Code

public static function cacheMethodIsAvailable() {
  if (!function_exists('igbinary_serialize')) {
    return false;
  }
  return true;
}