mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-05-21 05:40:47 +00:00
24 lines
413 B
PHP
24 lines
413 B
PHP
<?php
|
|
namespace ScummVM\Objects;
|
|
|
|
/**
|
|
* The Document class represents a Document on the website.
|
|
*/
|
|
class Document extends BasicObject
|
|
{
|
|
private $url;
|
|
|
|
/* Document object constructor. */
|
|
public function __construct($data)
|
|
{
|
|
parent::__construct($data);
|
|
$this->url = $data['url'];
|
|
}
|
|
|
|
/* Get the URL. */
|
|
public function getURL()
|
|
{
|
|
return $this->url;
|
|
}
|
|
}
|