1385. Class

1385.1. Zend\Cache\Pattern\ClassCache

1385.1.1. Methods

1385.1.1.1. setOptions

setOptions()

Set options

Parameters:PatternOptions
Return type:ClassCache
Throws :ExceptionInvalidArgumentException if missing ‘class’ or ‘storage’ options

1385.1.1.2. call

call()

Call and cache a class method

Parameters:
  • string – Method name to call
  • array – Method arguments
Return type:

mixed

Throws :

ExceptionRuntimeException

Throws :

Exception

1385.1.1.3. generateKey

generateKey()

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

Parameters:
  • string – The method
  • array – Callback arguments
Return type:

string

Throws :

ExceptionRuntimeException

1385.1.1.4. generateCallbackKey

generateCallbackKey()

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

Parameters:
  • callable – A valid callback
  • array – Callback arguments
Return type:

string

Throws :

ExceptionRuntimeException

1385.1.1.5. __call

__call()

Calling a method of the entity.

Parameters:
  • string – Method name to call
  • array – Method arguments
Return type:

mixed

Throws :

ExceptionRuntimeException

Throws :

Exception

1385.1.1.6. __set

__set()

Set a static property

Parameters:
  • string
  • mixed
Return type:

void

See :

1385.1.1.7. __get

__get()

Get a static property

Parameters:string
Return type:mixed
See :

1385.1.1.8. __isset

__isset()

Is a static property exists.

Parameters:string
Return type:bool

1385.1.1.9. __unset

__unset()

Unset a static property

Parameters:string
Return type:void