Provider
class Provider (View source)
Value object for oEmbed providers.
Properties
| protected string | $name | The provider name. |
|
| protected string | $url | The provider URL. |
|
| protected Endpoint[] | $endpoints | The provider endpoints. |
Methods
__construct(string $name, string $url, array $endpoints)
Provider constructor.
string
getName()
Returns the provider name.
string
getUrl()
Returns the provider URL.
Endpoint[]
getEndpoints()
Returns the provider endpoints.
Details
__construct(string $name, string $url, array $endpoints)
Provider constructor.
string
getName()
Returns the provider name.
string
getUrl()
Returns the provider URL.
Endpoint[]
getEndpoints()
Returns the provider endpoints.