mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-07-04 02:57:59 +02:00
Initial commit
Functional, without SSO
This commit is contained in:
19
sources/lib/AdService/Parser/AbstractParser.php
Normal file
19
sources/lib/AdService/Parser/AbstractParser.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?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);
|
||||
}
|
Reference in New Issue
Block a user