Property | Type | Description | |
---|---|---|---|
$apiUrl | inline {@inheritdoc} This Provider is kind of special, because it uses different oembed endpoints based on the given url. The default value of the endpoint is null and is set during the process of getting the url information. | ||
$postPatterns | Patterns that match posts urls | ||
$videoPatterns | Patterns that match video urls |
Method | Description | |
---|---|---|
getInfo ( ) | inline {@inheritdoc} |
Method | Description | |
---|---|---|
modifyResponse ( array $response = [] ) | inline {@inheritdoc} | |
urlMatchesPattern ( array $patternList ) : boolean | Checks if $this->url matches the given list of patterns | |
validateUrl ( ) | inline {@inheritdoc} |
public getInfo ( ) |
protected modifyResponse ( array $response = [] ) | ||
$response | array |
protected urlMatchesPattern ( array $patternList ) : boolean | ||
$patternList | array | Array with regex |
return | boolean |
protected $apiUrl |