mirror of https://github.com/sualko/cloud_bbb
27 lines
455 B
PHP
27 lines
455 B
PHP
<?php
|
|
|
|
namespace OCA\BigBlueButton\BigBlueButton;
|
|
|
|
class Presentation {
|
|
private $url;
|
|
|
|
private $filename;
|
|
|
|
public function __construct(string $url, string $filename) {
|
|
$this->url = $url;
|
|
$this->filename = $filename;
|
|
}
|
|
|
|
public function getUrl(): string {
|
|
return $this->url;
|
|
}
|
|
|
|
public function getFilename(): string {
|
|
return $this->filename;
|
|
}
|
|
|
|
public function isValid(): bool {
|
|
return !empty($this->url) && !empty($this->filename);
|
|
}
|
|
}
|