Beispiel #1
0
 /**
  *	Fetches embed information from the given URL.
  *
  *	@param string $url URL to fetch informations from.
  *	@param array $options Custom options to be interpreted by the provider.
  *	@return Media|null Embed informations, or null if nothing could be
  *		fetched.
  */
 public final function embed($url, array $options = [])
 {
     $this->_Preparators->filter($url);
     $Media = $this->_embed($url, $options);
     $Media->setDefault('url', $url);
     return $this->_Presenters->filter($Media);
 }