PHP Class CacheTool\Proxy\PhpProxy

Inheritance: implements CacheTool\Proxy\ProxyInterface
Afficher le fichier Open project: gordalina/cachetool

Protected Properties

Свойство Type Description
$adapter CacheTool\Adapter\AbstractAdapter

Méthodes publiques

Méthode Description
_eval ( string $expression ) : mixed Evaluate a string as PHP code
extension_loaded ( string $name ) : boolean Find out whether an extension is loaded
getFunctions ( )
ini_get ( string $varname ) : string Gets the value of a configuration option
ini_set ( string $varname, string $newvalue ) : string Gets the value of a configuration option
phpversion ( string $extension = null ) : string Returns a string containing the version of the currently running PHP parser or extension.
setAdapter ( AbstractAdapter $adapter )
stat_cache_clear ( ) : void Resets the contents of the file status cache, including the realpath cache
stat_realpath_get ( ) : array Get contents of the realpath cache
stat_realpath_size ( ) : integer Returns how much memory realpath cache is using.

Method Details

_eval() public méthode

Evaluate a string as PHP code
public _eval ( string $expression ) : mixed
$expression string Evaluates the given code as PHP
Résultat mixed

extension_loaded() public méthode

Find out whether an extension is loaded
public extension_loaded ( string $name ) : boolean
$name string The extension name. This parameter is case-insensitive
Résultat boolean Returns TRUE if the extension identified by name is loaded, FALSE otherwise

getFunctions() public méthode

public getFunctions ( )

ini_get() public méthode

Gets the value of a configuration option
public ini_get ( string $varname ) : string
$varname string The configuration option name
Résultat string Returns the value of the configuration option as a string on success, or an empty string for null values. Returns FALSE if the configuration option doesn't exist.

ini_set() public méthode

Gets the value of a configuration option
public ini_set ( string $varname, string $newvalue ) : string
$varname string Not all the available options can be changed using ini_set(). There is a list of all available options in the appendix.
$newvalue string The new value for the option
Résultat string Returns the old value on success, FALSE on failure

phpversion() public méthode

Returns a string containing the version of the currently running PHP parser or extension.
public phpversion ( string $extension = null ) : string
$extension string An optional extension name
Résultat string

setAdapter() public méthode

public setAdapter ( AbstractAdapter $adapter )
$adapter CacheTool\Adapter\AbstractAdapter

stat_cache_clear() public méthode

Resets the contents of the file status cache, including the realpath cache
public stat_cache_clear ( ) : void
Résultat void

stat_realpath_get() public méthode

Get contents of the realpath cache
Since: 5.3.2
public stat_realpath_get ( ) : array
Résultat array Returns an array of realpath cache entries. The keys are original path entries, and the values are arrays of data items, containing the resolved path, expiration date, and other options kept in the cache.

stat_realpath_size() public méthode

Returns how much memory realpath cache is using.
Since: 5.3.2
public stat_realpath_size ( ) : integer
Résultat integer Memory usage in bytes

Property Details

$adapter protected_oe property

protected AbstractAdapter,CacheTool\Adapter $adapter
Résultat CacheTool\Adapter\AbstractAdapter