Overview

Namespaces

  • FastFeed
    • Aggregator
    • Cache
    • Exception
    • Logger
    • Parser
    • Processor
  • PHP

Classes

  • ImageProcessor
  • ImagesProcessor
  • LimitProcessor
  • PathProcessor
  • RemoveStylesProcessor
  • SanitizerProcessor
  • SortByDateProcessor
  • StripTagsProcessor

Interfaces

  • ProcessorInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class SanitizerProcessor

SanitizerProcessor Remove malicious HTML

FastFeed\Processor\SanitizerProcessor implements FastFeed\Processor\ProcessorInterface
Namespace: FastFeed\Processor
Located at src/Processor/SanitizerProcessor.php
Methods summary
public
# __construct( null $cacheDirectory = null )

Parameters

$cacheDirectory
null
$cacheDirectory

Throws

FastFeed\Exception\InvalidArgumentException
public array
# process( array $items )

Execute processor

Execute processor

Parameters

$items
array
$items

Returns

array

Implementation of

FastFeed\Processor\ProcessorInterface::process()
protected string
# doClean( FastFeed\Item $item )

Parameters

$item
FastFeed\Item
$item

Returns

string
Properties summary
protected HTMLPurifier $purifier
#
API documentation generated by ApiGen 2.8.0