PHP 클래스 CacheTool\Proxy\PhpProxy

상속: implements CacheTool\Proxy\ProxyInterface
파일 보기 프로젝트 열기: gordalina/cachetool

보호된 프로퍼티들

프로퍼티 타입 설명
$adapter CacheTool\Adapter\AbstractAdapter

공개 메소드들

메소드 설명
_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.

메소드 상세

_eval() 공개 메소드

Evaluate a string as PHP code
public _eval ( string $expression ) : mixed
$expression string Evaluates the given code as PHP
리턴 mixed

extension_loaded() 공개 메소드

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

getFunctions() 공개 메소드

public getFunctions ( )

ini_get() 공개 메소드

Gets the value of a configuration option
public ini_get ( string $varname ) : string
$varname string The configuration option name
리턴 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() 공개 메소드

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
리턴 string Returns the old value on success, FALSE on failure

phpversion() 공개 메소드

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
리턴 string

setAdapter() 공개 메소드

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

stat_cache_clear() 공개 메소드

Resets the contents of the file status cache, including the realpath cache
public stat_cache_clear ( ) : void
리턴 void

stat_realpath_get() 공개 메소드

Get contents of the realpath cache
부터: 5.3.2
public stat_realpath_get ( ) : array
리턴 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() 공개 메소드

Returns how much memory realpath cache is using.
부터: 5.3.2
public stat_realpath_size ( ) : integer
리턴 integer Memory usage in bytes

프로퍼티 상세

$adapter 보호되어 있는 프로퍼티

protected AbstractAdapter,CacheTool\Adapter $adapter
리턴 CacheTool\Adapter\AbstractAdapter