Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Mvc\Template\Plugin; |
6 | |
7 | /** |
8 | * smarty 修正子 |
9 | */ |
10 | interface ITemplateModifier |
11 | { |
12 | #region function |
13 | |
14 | /** |
15 | * 修正子名取得。 |
16 | * |
17 | * @return string |
18 | */ |
19 | public function getModifierName(): string; |
20 | |
21 | /** |
22 | * 修正子処理出力。 |
23 | * |
24 | * @param mixed $value |
25 | * @param mixed ...$params |
26 | * @return mixed |
27 | */ |
28 | public function modifierBody(mixed $value, mixed ...$params): mixed; |
29 | |
30 | #endregion |
31 | } |