Interface humhub\libs\UrlOembedClient

Implemented byhumhub\libs\UrlOembedHttpClient

Public Methods

Hide inherited methods

MethodDescriptionDefined By
fetchUrl() Fetches a given $url and returns the oembed result array. humhub\libs\UrlOembedClient

Method Details

fetchUrl() public abstract method

Fetches a given $url and returns the oembed result array.

The resulting array should at least contain an html with a html preview and a type field.

public abstract array|null fetchUrl ( $url )
$url string