EmbedResource deprecated
class EmbedResource extends EmbedResource (View source)
deprecated
Properties
protected | Adapter | $embed | Embed result |
from EmbedResource |
protected | string | $url | from EmbedResource | |
protected | array | $options | from EmbedResource | |
protected | DispatcherInterface | $dispatcher | from EmbedResource |
Methods
Details
__construct(string $url)
No description
int
getWidth()
Get width of this Embed
int
getHeight()
Get height of this Embed
string
getPreviewURL()
Get preview url
string
getName()
Get human readable name for this resource
string
getType()
Get Embed type
bool
validate()
Validate this resource
$this
setOptions(array $options)
No description
array
getOptions()
No description
$this
setDispatcher(DispatcherInterface $dispatcher)
No description
DispatcherInterface
getDispatcher()
No description
Adapter
getEmbed()
Returns a bootstrapped Embed object