2013-02-07 17:37:16 +04:00
|
|
|
<?php
|
|
|
|
namespace Aspect;
|
|
|
|
|
|
|
|
interface ProviderInterface {
|
|
|
|
/**
|
|
|
|
* @param string $tpl
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function isTemplateExists($tpl);
|
|
|
|
/**
|
|
|
|
* @param string $tpl
|
2013-02-13 18:52:47 +04:00
|
|
|
* @param int $time
|
2013-02-07 17:37:16 +04:00
|
|
|
* @return string
|
|
|
|
*/
|
2013-02-13 18:52:47 +04:00
|
|
|
public function getSource($tpl, &$time);
|
2013-02-07 17:37:16 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $tpl
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getLastModified($tpl);
|
|
|
|
|
|
|
|
public function getLastModifiedBatch($tpls);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
2013-02-13 18:52:47 +04:00
|
|
|
public function getList();
|
2013-02-07 17:37:16 +04:00
|
|
|
}
|