Fully Qualified Name: | Laminas\Cache\Pattern\ClassCache |
Extends: | CallbackCache |
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 |
Calling a method of the entity.
Parameter Name | Type | Description |
---|---|---|
$method | string | Method |
$args | array | Method |
Returns: mixed
Get a static property
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: mixed
Is a static property exists.
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: bool
Set a static property
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$value | mixed |
Returns: void
Unset a static property
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: void
Call and cache a class method
Parameter Name | Type | Description |
---|---|---|
$method | string | Method |
$args | array | Method |
Returns: mixed
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
Get all pattern options
Returns: \PatternOptions
Set options
Parameter Name | Type | Description |
---|---|---|
$options | \PatternOptions |
Returns: \ClassCache Provides a fluent interface