/home/techb158/ileadtechnology.com/vendor/bigbluebutton/bigbluebutton-api-php/src/Core
Edit: /home/techb158/ileadtechnology.com/vendor/bigbluebutton/bigbluebutton-api-php/src/Core/Image.php (1640B)
.
*/
namespace BigBlueButton\Core;
/**
* Class Record.
*/
class Image
{
private $alt;
private $height;
private $width;
private $url;
/**
* Record constructor.
*
* @param $xml \SimpleXMLElement
*/
public function __construct($xml)
{
$this->alt = $xml['alt']->__toString();
$this->height = (int) $xml['height'];
$this->width = (int) $xml['width'];
$this->url = $xml->__toString();
}
public function getAlt(): string
{
return $this->alt;
}
public function getHeight(): int
{
return $this->height;
}
public function getWidth(): int
{
return $this->width;
}
public function getUrl(): string
{
return $this->url;
}
}