Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / template / plugin / IFunctionTemplatePlugin.class.php
CommitLineData
158bd3ca 1<?php
a9229942 2
d5fd0f32 3namespace wcf\system\template\plugin;
a9229942 4
1c65015e 5use wcf\system\template\TemplateEngine;
158bd3ca
TD
6
7/**
8 * Template functions are identical to template blocks, but they have no closing tag.
a9229942
TD
9 *
10 * @author Marcel Werk
11 * @copyright 2001-2019 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\System\Template\Plugin
158bd3ca 14 */
a9229942
TD
15interface IFunctionTemplatePlugin
16{
17 /**
18 * Executes this template function.
19 *
20 * @param array $tagArgs
21 * @param TemplateEngine $tplObj
22 * @return string
23 */
24 public function execute($tagArgs, TemplateEngine $tplObj);
dcb3a44c 25}