| Fully Qualified Name: | Laminas\Cache\Storage\Adapter\DbaOptions |
| Extends: | AdapterOptions |
These are options specific to the APC adapter
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable|null |
Returns:
Get a configuration property
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: mixed
Test if a configuration property is null
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: bool
Set a configuration property
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | mixed |
Returns: void
Set a configuration property to NULL
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: void
Returns: void
Get key pattern
Returns: string
Returns: void
Get namespace
Returns: string
Get namespace separator
Returns: string
Get pathname to database file
Returns: string
If reading data from cache enabled.
Returns: bool
Get time to live.
Returns: float
If writing data to cache enabled.
Returns: bool
Adapter using this instance
| Parameter Name | Type | Description |
|---|---|---|
| $adapter | \StorageInterface|null |
Returns: \AdapterOptions Provides a fluent interface
{@inheritdoc}
NOTE: This method was overwritten just to support prioritized properties {@link https://github.com/zendframework/zf2/issues/6381}
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable|\AbstractOptions |
Returns: \AbstractOptions Provides fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $handler | string |
Returns: \DbaOptions Provides a fluent interface
Set key pattern
| Parameter Name | Type | Description |
|---|---|---|
| $keyPattern | string |
Returns: \AdapterOptions Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $mode | string |
Returns: \DbaOptions Provides a fluent interface
Set namespace.
| Parameter Name | Type | Description |
|---|---|---|
| $namespace | string |
Returns: \AdapterOptions Provides a fluent interface
Set namespace separator
| Parameter Name | Type | Description |
|---|---|---|
| $namespaceSeparator | string |
Returns: \DbaOptions Provides a fluent interface
Set pathname to database file
| Parameter Name | Type | Description |
|---|---|---|
| $pathname | string |
Returns: \DbaOptions Provides a fluent interface
Enable/Disable reading data from cache.
| Parameter Name | Type | Description |
|---|---|---|
| $readable | bool |
Returns: \AdapterOptions Provides a fluent interface
Set time to live.
| Parameter Name | Type | Description |
|---|---|---|
| $ttl | int|float |
Returns: \AdapterOptions Provides a fluent interface
Enable/Disable writing data to cache.
| Parameter Name | Type | Description |
|---|---|---|
| $writable | bool |
Returns: \AdapterOptions Provides a fluent interface
Cast to array
Returns: array