PHP Class Sulu\Component\Cache\DataCache

When the file exists the cache uses the data in the file and does not rely on other files.
Inheritance: implements Sulu\Component\Cache\CacheInterface
Datei anzeigen Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( $file )
invalidate ( )
isFresh ( )
read ( )
write ( $data )

Method Details

__construct() public method

public __construct ( $file )

invalidate() public method

public invalidate ( )

isFresh() public method

public isFresh ( )

read() public method

public read ( )

write() public method

public write ( $data )