cloud_bbb/lib/BigBlueButton/Presentation.php

27 lines
455 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(): string {
2020-05-16 17:14:17 +02:00
return $this->url;
}
public function getFilename(): string {
2020-05-16 17:14:17 +02:00
return $this->filename;
}
public function isValid(): bool {
2020-05-16 17:14:17 +02:00
return !empty($this->url) && !empty($this->filename);
}
}