Property | Type | Description | |
---|---|---|---|
$_endpoint | string | Endpoint. | |
$_format | string | Format. |
Method | Description | |
---|---|---|
__construct ( string $endpoint = '', string $format = Format::json ) | Constructor. | |
completeEndpoint ( array $options ) | Appends a set of options as parameters to the endpoint. | |
endpoint ( ) : string | Returns the endpoint. | |
format ( ) : string | Returns the format. | |
setEndpoint ( string $endpoint ) | Sets the endpoint. | |
setFormat ( string $format ) | Sets the format. |
public __construct ( string $endpoint = '', string $format = Format::json ) | ||
$endpoint | string | The OEmbed endpoint. |
$format | string | The expected response format. |
public completeEndpoint ( array $options ) | ||
$options | array | Options to append. |
public setEndpoint ( string $endpoint ) | ||
$endpoint | string | Endpoint. |