]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/htmlpurifier/HTMLPurifier/Strategy.php
remove autoload section in composer.json
[github/wallabag/wallabag.git] / inc / 3rdparty / htmlpurifier / HTMLPurifier / Strategy.php
CommitLineData
d4949327
NL
1<?php\r
2\r
3/**\r
4 * Supertype for classes that define a strategy for modifying/purifying tokens.\r
5 *\r
6 * While HTMLPurifier's core purpose is fixing HTML into something proper,\r
7 * strategies provide plug points for extra configuration or even extra\r
8 * features, such as custom tags, custom parsing of text, etc.\r
9 */\r
10\r
11\r
12abstract class HTMLPurifier_Strategy\r
13{\r
14\r
15 /**\r
16 * Executes the strategy on the tokens.\r
17 *\r
18 * @param HTMLPurifier_Token[] $tokens Array of HTMLPurifier_Token objects to be operated on.\r
19 * @param HTMLPurifier_Config $config\r
20 * @param HTMLPurifier_Context $context\r
21 * @return HTMLPurifier_Token[] Processed array of token objects.\r
22 */\r
23 abstract public function execute($tokens, $config, $context);\r
24}\r
25\r
26// vim: et sw=4 sts=4\r