Constructor
Parameters: | array|Traversable|null – |
---|---|
Return type: | PatternOptions |
Throws : | ExceptionInvalidArgumentException |
Set flag indicating whether or not to cache by default
Used by: - ClassCache - ObjectCache
Parameters: | bool – |
---|---|
Return type: | PatternOptions |
Do we cache by default?
Used by: - ClassCache - ObjectCache
Return type: | bool |
---|
Set whether or not to cache output
Used by: - CallbackCache - ClassCache - ObjectCache
Parameters: | bool – |
---|---|
Return type: | PatternOptions |
Will we cache output?
Used by: - CallbackCache - ClassCache - ObjectCache
Return type: | bool |
---|
Set class name
Used by: - ClassCache
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | PatternOptions |
Set list of method return values to cache
Used by: - ClassCache
Parameters: | array – |
---|---|
Return type: | PatternOptions |
Get list of methods from which to cache return values
Used by: - ClassCache
Return type: | array |
---|
Set list of method return values NOT to cache
Used by: - ClassCache
Parameters: | array – |
---|---|
Return type: | PatternOptions |
Get list of methods from which NOT to cache return values
Used by: - ClassCache
Return type: | array |
---|
Set directory permission
Parameters: | false|int – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | PatternOptions |
Set umask
Used by: - CaptureCache
Parameters: | false|int – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | PatternOptions |
Set whether or not file locking should be used
Used by: - CaptureCache
Parameters: | bool – |
---|---|
Return type: | PatternOptions |
Is file locking enabled?
Used by: - CaptureCache
Return type: | bool |
---|
Set file permission
Parameters: | false|int – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | PatternOptions |
Set value for index filename
Parameters: | string – |
---|---|
Return type: | PatternOptions |
Set object to cache
Parameters: | mixed – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | $this |
Set flag indicating whether or not to cache magic properties
Used by: - ObjectCache
Parameters: | bool – |
---|---|
Return type: | PatternOptions |
Should we cache magic properties?
Used by: - ObjectCache
Return type: | bool |
---|
Set list of object methods for which to cache return values
Parameters: | array – |
---|---|
Return type: | PatternOptions |
Throws : | ExceptionInvalidArgumentException |
Get list of object methods for which to cache return values
Return type: | array |
---|
Set the object key part.
Used to generate a callback key in order to speed up key generation.
Used by: - ObjectCache
Parameters: | mixed – |
---|---|
Return type: | $this |
Set list of object methods for which NOT to cache return values
Parameters: | array – |
---|---|
Return type: | PatternOptions |
Throws : | ExceptionInvalidArgumentException |
Get list of object methods for which NOT to cache return values
Return type: | array |
---|
Set location of public directory
Used by: - CaptureCache
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | PatternOptions |
Get location of public directory
Used by: - CaptureCache
Return type: | null|string |
---|
Set storage adapter
Required for the following Pattern classes: - CallbackCache - ClassCache - ObjectCache - OutputCache
Parameters: | string|array|Storage – |
---|---|
Return type: | PatternOptions |
Get storage adapter
Used by: - CallbackCache - ClassCache - ObjectCache - OutputCache
Return type: | null|Storage |
---|
Recursively apply strtolower on all values of an array, and return as a list of unique values
Parameters: | array – |
---|---|
Return type: | array |