23 lines
264 B
PHP
23 lines
264 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Smarty\Compiler;
|
||
|
|
|
||
|
|
use Smarty\Smarty;
|
||
|
|
|
||
|
|
abstract class BaseCompiler {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Smarty object
|
||
|
|
*
|
||
|
|
* @var Smarty
|
||
|
|
*/
|
||
|
|
protected $smarty = null;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return Smarty|null
|
||
|
|
*/
|
||
|
|
public function getSmarty(): Smarty {
|
||
|
|
return $this->smarty;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|