General
extends AbstractLinkProvider
in package
Tags
Table of Contents
Methods
- __construct() : mixed
- parseUrl() : array<string|int, mixed>|null
- setOptions() : void
- verifyUrl() : bool
- getContent() : string|null
- getEmbedMedia() : string|null
Methods
__construct()
public
__construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $options : array<string|int, mixed> = []
parseUrl()
public
parseUrl(string $url) : array<string|int, mixed>|null
Parameters
- $url : string
Return values
array<string|int, mixed>|nullsetOptions()
public
setOptions(array<string|int, mixed> $options) : void
Parameters
- $options : array<string|int, mixed>
verifyUrl()
public
verifyUrl(string $url[, mixed &$matches = [] ]) : bool
Parameters
- $url : string
- $matches : mixed = []
Return values
boolgetContent()
private
getContent(string $url) : string|null
Parameters
- $url : string
-
URL of the server.
Return values
string|nullgetEmbedMedia()
private
getEmbedMedia(string $embedUrl) : string|null
Parameters
- $embedUrl : string