cloud_bbb/lib/BigBlueButton/Presentation.php

27 lines
433 B
PHP
Raw Normal View History

2020-05-16 17:14:17 +02:00
<?php
namespace OCA\BigBlueButton\BigBlueButton;
class Presentation {
2020-05-16 17:14:17 +02:00
private $url;
private $filename;
public function __construct(string $url, string $filename) {
2020-05-16 17:14:17 +02:00
$this->url = $url;
$this->filename = $filename;
}
public function getUrl() {
2020-05-16 17:14:17 +02:00
return $this->url;
}
public function getFilename() {
2020-05-16 17:14:17 +02:00
return $this->filename;
}
public function isValid() {
2020-05-16 17:14:17 +02:00
return !empty($this->url) && !empty($this->filename);
}
}