Summary
- File
- Package hierarchy Data\store
- Class hierarchy \DataStoreFactory
This factory returns you the data store that are the best for your requirements.
This factory returns you the data store that are the best for your requirements.
get_ram_store(string $id) : \DataStore
Returns an efficient data store whose life span can be not infinite.
string | $id | Identifier of the data store. |
The best data store you can use with the current configuration
None found |
get_filesystem_store(string $id) : \DataStore
Returns an infinite-life span data store that can be not very efficient.
string | $id | Identifier of the data store. |
The best data store you can use with the current configuration
None found |
is_apc_available()
None found |
is_apc_enabled()
None found |
set_apc_enabled(boolean $enabled)
Enables or disables APC. Writes in the file /cache/apc.php
boolean | $enabled |
If the file cannot be written
None found |