CacheTool\Proxy\ApcProxy::apc_load_constants PHP Method

apc_load_constants() public method

Loads a set of constants from the cache
Since: 3.0.0
public apc_load_constants ( mixed $key, boolean $case_sensitive = true ) : boolean
$key mixed The name of the constant set (that was stored with apc_define_constants()) to be retrieved.
$case_sensitive boolean The default behaviour for constants is to be declared case-sensitive; i.e. CONSTANT and Constant represent different values. If this parameter evaluates to FALSE the constants will be declared as case-insensitive symbols.
return boolean Returns TRUE on success or FALSE on failure
    public function apc_load_constants($key, $case_sensitive = true)
    {
        $code = new Code();
        $code->addStatement(sprintf('return apc_load_constants(%s, %s);', var_export($key, true), var_export($case_sensitive, true)));
        return $this->adapter->run($code);
    }