EmbedProcessor
in package
FinalYes
Table of Contents
Constants
- FALLBACK_LINK = 'link'
- FALLBACK_REMOVE = 'remove'
Properties
- $adapter : EmbedAdapterInterface
- $fallback : string
Methods
- __construct() : mixed
- __invoke() : void
Constants
FALLBACK_LINK
public
mixed
FALLBACK_LINK
= 'link'
FALLBACK_REMOVE
public
mixed
FALLBACK_REMOVE
= 'remove'
Properties
$adapter
private
EmbedAdapterInterface
$adapter
$fallback
private
string
$fallback
Methods
__construct()
public
__construct(EmbedAdapterInterface $adapter[, string $fallback = self::FALLBACK_REMOVE ]) : mixed
Parameters
- $adapter : EmbedAdapterInterface
- $fallback : string = self::FALLBACK_REMOVE
__invoke()
public
__invoke(DocumentParsedEvent $event) : void
Parameters
- $event : DocumentParsedEvent