CacheHelper
Provides helper function to delete the Twig cache directory.
Tags
Table of Contents
$ci | ContainerInterface | |
---|---|---|
__construct() | Constructor. | mixed |
clearCache() | Function that delete the Twig cache directory content. | bool |
Properties
$ci
protected
ContainerInterface
$ci
Methods
__construct()
Constructor.
public
__construct(
$ci :
ContainerInterface
)
: mixed
Parameters
- $ci : ContainerInterface
The global container object, which holds all your services.
Return values
mixedclearCache()
Function that delete the Twig cache directory content.
public
clearCache(
)
: bool
Return values
bool —true/false if operation is successfull