mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
29 lines
486 B
PHP
29 lines
486 B
PHP
|
<?php
|
||
|
namespace Aspect;
|
||
|
|
||
|
interface ProviderInterface {
|
||
|
/**
|
||
|
* @param string $tpl
|
||
|
* @return bool
|
||
|
*/
|
||
|
public function isTemplateExists($tpl);
|
||
|
/**
|
||
|
* @param string $tpl
|
||
|
* @return string
|
||
|
*/
|
||
|
public function loadCode($tpl);
|
||
|
|
||
|
/**
|
||
|
* @param string $tpl
|
||
|
* @return int
|
||
|
*/
|
||
|
public function getLastModified($tpl);
|
||
|
|
||
|
public function getLastModifiedBatch($tpls);
|
||
|
|
||
|
/**
|
||
|
* @return array
|
||
|
*/
|
||
|
public function getAll();
|
||
|
}
|