19 lines
326 B
PHP
19 lines
326 B
PHP
|
<?php
|
||
|
|
||
|
namespace Smarty\BlockHandler;
|
||
|
|
||
|
use Smarty\Template;
|
||
|
|
||
|
abstract class Base implements BlockHandlerInterface {
|
||
|
|
||
|
/**
|
||
|
* @var bool
|
||
|
*/
|
||
|
protected $cacheable = true;
|
||
|
|
||
|
abstract public function handle($params, $content, Template $template, &$repeat);
|
||
|
|
||
|
public function isCacheable(): bool {
|
||
|
return $this->cacheable;
|
||
|
}
|
||
|
}
|