public function __construct(callable $keyHasher = null) { if (!function_exists('sem_get')) { throw new \RuntimeException("PHP must be compiled with --enable-sysvsem"); } parent::__construct($keyHasher); }
public function __construct($basePath, callable $keyHasher, $fileOptions = []) { parent::__construct($keyHasher); $this->fileUtil = new \Cachet\Util\File($basePath, $fileOptions); }