Class ClassCache

Summary

Fully Qualified Name: Zend\Cache\Pattern\ClassCache
Extends: CallbackCache

Description

Methods

Name Description Defined By
__call() Calling a method of the entity. ClassCache
__get() Get a static property ClassCache
__isset() Is a static property exists. ClassCache
__set() Set a static property ClassCache
__unset() Unset a static property ClassCache
call() Call and cache a class method ClassCache
generateKey() Generate a unique key in base of a key representing the callback part and a key representing the arguments part. ClassCache
getOptions() Get all pattern options AbstractPattern
setOptions() Set options ClassCache

Method Details

__call()

Calling a method of the entity.

Parameter Name Type Description
$method string Method
$args array Method

Returns: mixed

__get()

Get a static property

Parameter Name Type Description
$name string

Returns: mixed

__isset()

Is a static property exists.

Parameter Name Type Description
$name string

Returns: bool

__set()

Set a static property

Parameter Name Type Description
$name string
$value mixed

Returns: void

__unset()

Unset a static property

Parameter Name Type Description
$name string

Returns: void

call()

Call and cache a class method

Parameter Name Type Description
$method string Method
$args array Method

Returns: mixed

generateKey()

Generate a unique key in base of a key representing the callback part and a key representing the arguments part.

Parameter Name Type Description
$method string The
$args array Callback

Returns: string

getOptions()

Get all pattern options

Returns: \PatternOptions

setOptions()

Set options

Parameter Name Type Description
$options \PatternOptions

Returns: \ClassCache Provides a fluent interface

Top