PHP Class Prado\TApplicationStatePersister
TApplicationStatePersister provides a file-based persistent storage
for application state. Application state, when serialized, is stored
in a file named 'global.cache' under the 'runtime' directory of the application.
Cache will be exploited if it is enabled.
Show file
Open project: pradosoft/prado
Public Methods
Method |
Description |
|
init ( $config ) |
Initializes module. |
|
load ( ) : mixed |
Loads application state from persistent storage. |
|
save ( $state ) |
Saves application state in persistent storage. |
|
Protected Methods
Method Details
getStateFilePath()
protected method
Loads application state from persistent storage.
Saves application state in persistent storage.