MediaWiki
master
TidyDriverBase.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Tidy
;
4
8
abstract
class
TidyDriverBase
{
10
protected
$config
;
11
12
public
function
__construct
(
$config
) {
13
$this->config =
$config
;
14
}
15
26
abstract
public
function
tidy
( $text, ?callable $textProcessor =
null
);
27
}
MediaWiki\Tidy\TidyDriverBase
Base class for HTML cleanup utilities.
Definition
TidyDriverBase.php:8
MediaWiki\Tidy\TidyDriverBase\__construct
__construct( $config)
Definition
TidyDriverBase.php:12
MediaWiki\Tidy\TidyDriverBase\tidy
tidy( $text, ?callable $textProcessor=null)
Clean up HTML.
MediaWiki\Tidy\TidyDriverBase\$config
array $config
Definition
TidyDriverBase.php:10
MediaWiki\Tidy
Definition
RemexCompatBuilder.php:3
includes
tidy
TidyDriverBase.php
Generated on Sat Nov 2 2024 19:26:34 for MediaWiki by
1.10.0