mirror of
https://github.com/smarty-php/smarty.git
synced 2026-01-31 02:29:30 +01:00
17 lines
401 B
PHP
17 lines
401 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Smarty\Compile\Modifier;
|
||
|
|
|
||
|
|
interface ModifierCompilerInterface {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Compiles code for the modifier
|
||
|
|
*
|
||
|
|
* @param array $params array with attributes from parser
|
||
|
|
* @param \Smarty\Compiler\Template $compiler compiler object
|
||
|
|
*
|
||
|
|
* @return string compiled code
|
||
|
|
* @throws \Smarty\CompilerException
|
||
|
|
*/
|
||
|
|
public function compile($params, \Smarty\Compiler\Template $compiler);
|
||
|
|
}
|