| Fully Qualified Name: | Zend\Cache\Pattern\CaptureCache |
| Extends: | AbstractPattern |
| Name | Description | Defined By |
|---|---|---|
| clearByGlob() | Clear cached pages matching glob pattern | CaptureCache |
| get() | Get from cache | CaptureCache |
| getFilename() | Returns the generated file name. | CaptureCache |
| getOptions() | Get all pattern options | AbstractPattern |
| has() | Checks if a cache with given id exists | CaptureCache |
| remove() | Remove from cache | CaptureCache |
| set() | Write content to page identity | CaptureCache |
| setOptions() | Set pattern options | AbstractPattern |
| start() | Start the cache | CaptureCache |
Clear cached pages matching glob pattern
| Parameter Name | Type | Description |
|---|---|---|
| $pattern | string |
Returns:
Get from cache
| Parameter Name | Type | Description |
|---|---|---|
| $pageId | null|string |
Returns: string|null
Returns the generated file name.
| Parameter Name | Type | Description |
|---|---|---|
| $pageId | null|string |
Returns: string
Get all pattern options
Returns: \PatternOptions
Checks if a cache with given id exists
| Parameter Name | Type | Description |
|---|---|---|
| $pageId | null|string |
Returns: bool
Remove from cache
| Parameter Name | Type | Description |
|---|---|---|
| $pageId | null|string |
Returns: bool
Write content to page identity
| Parameter Name | Type | Description |
|---|---|---|
| $content | string | |
| $pageId | null|string |
Returns:
Set pattern options
| Parameter Name | Type | Description |
|---|---|---|
| $options | \PatternOptions |
Returns: \AbstractPattern Provides a fluent interface
Start the cache
| Parameter Name | Type | Description |
|---|---|---|
| $pageId | string | Page |
Returns: void