Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / template / plugin / IPrefilterTemplatePlugin.class.php
CommitLineData
158bd3ca 1<?php
a9229942 2
d5fd0f32 3namespace wcf\system\template\plugin;
a9229942 4
1c65015e 5use wcf\system\template\TemplateScriptingCompiler;
158bd3ca
TD
6
7/**
8 * Prefilters are used to process the source of the template immediately before compilation.
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
158bd3ca 14 */
a9229942
TD
15interface IPrefilterTemplatePlugin
16{
17 /**
18 * Executes this prefilter.
19 *
20 * @param string $templateName
21 * @param string $sourceContent
22 * @param TemplateScriptingCompiler $compiler
23 * @return string
24 */
25 public function execute($templateName, $sourceContent, TemplateScriptingCompiler $compiler);
dcb3a44c 26}