-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
175 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,41 +10,35 @@ | |
* @author Stefan Wanzenried <[email protected]> | ||
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License, version 2 | ||
*/ | ||
|
||
interface TemplateEngineCache { | ||
|
||
/** | ||
* Get cached output of template or null if no cache exists | ||
* | ||
* Get cached output of template or null if no cache exists. | ||
* @return string|null | ||
*/ | ||
public function getCache(); | ||
|
||
|
||
/** | ||
* Cache output of current template | ||
* | ||
* Cache output of current template. | ||
*/ | ||
public function storeCache(); | ||
|
||
|
||
/** | ||
* Clear cache of current template | ||
* | ||
* Clear cache of current template. | ||
*/ | ||
public function clearCache(); | ||
|
||
|
||
/** | ||
* Clear cache completely, also cache of all other templates | ||
* | ||
* Clear cache completely, also cache of all other templates. | ||
*/ | ||
public function clearAllCache(); | ||
|
||
|
||
/** | ||
* Returns true if a cache exists for the template | ||
* | ||
* Returns true if a cache exists for the template. | ||
* @return bool | ||
*/ | ||
public function isCached(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.