mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-06-08 05:25:30 +02:00
19 lines
348 B
PHP
19 lines
348 B
PHP
<?php
|
|
|
|
namespace AdService\Parser;
|
|
|
|
use AdService\Filter;
|
|
|
|
abstract class AbstractParser extends \DOMDocument
|
|
{
|
|
public function __construct()
|
|
{
|
|
libxml_use_internal_errors(true);
|
|
}
|
|
|
|
/**
|
|
* @param string $content
|
|
* @param Filter $filter
|
|
*/
|
|
abstract public function process($content, Filter $filter = null);
|
|
} |