Files
scummvm-web/include/Objects/Platform.php
T

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;
}
}