mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-06-20 05:45:49 +00:00
24 lines
444 B
PHP
24 lines
444 B
PHP
<?php
|
|
namespace ScummVM\Objects;
|
|
|
|
/**
|
|
* The Platform object represents the named representation of a game platform
|
|
*/
|
|
class Platform extends DataObject
|
|
{
|
|
private $name;
|
|
|
|
/* Article object constructor. */
|
|
public function __construct($data)
|
|
{
|
|
parent::__construct($data);
|
|
$this->name = $data['name'];
|
|
}
|
|
|
|
/* Get the platform name. */
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
}
|