Documentation

DomainFilteringAdapter
in package
implements EmbedAdapterInterface

Table of Contents

Interfaces

EmbedAdapterInterface
Interface for a service which updates the embed code(s) for the given array of embeds

Properties

$decorated  : EmbedAdapterInterface
$regex  : string

Methods

__construct()  : mixed
updateEmbeds()  : void
createRegex()  : string

Properties

Methods

updateEmbeds()

public updateEmbeds(array<string|int, mixed> $embeds) : void
Parameters
$embeds : array<string|int, mixed>

createRegex()

private static createRegex(array<string|int, string> $allowedDomains) : string
Parameters
$allowedDomains : array<string|int, string>
Tags
psalm-return

non-empty-string

Return values
string

        
On this page

Search results