mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
36 lines
558 B
PHP
36 lines
558 B
PHP
<?php
|
|
|
|
/**
|
|
* Class ApcService
|
|
* @since 2.7.6 N°4125
|
|
*/
|
|
class ApcService {
|
|
public function __construct() {
|
|
}
|
|
|
|
public function function_exists($function_name) {
|
|
return function_exists($function_name);
|
|
}
|
|
|
|
/**
|
|
* @param $key string|array
|
|
* @return mixed
|
|
* @see apc_fetch
|
|
*/
|
|
function apc_fetch($key)
|
|
{
|
|
return apc_fetch($key);
|
|
}
|
|
|
|
/**
|
|
* @param array|string $key
|
|
* @param $var
|
|
* @param int $ttl
|
|
* @return array|bool
|
|
* @see apc_store
|
|
*/
|
|
function apc_store($key, $var = NULL, $ttl = 0)
|
|
{
|
|
return apc_store($key, $var, $ttl);
|
|
}
|
|
} |