summaryrefslogtreecommitdiff
path: root/src/BlockHandler/Base.php
blob: e194f67b65f3f04142f4570df47b8e6e6654148d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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;
	}
}