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

33 lines
634 B
PHP

<?php
namespace ScummVM\Objects;
/**
* The Company object represents a companies that created games supported
* by ScummVM.
*/
class Company extends DataObject
{
private $name;
private $alt_name;
/* Article object constructor. */
public function __construct($data)
{
parent::__construct($data);
$this->name = $data['name'];
$this->alt_name = $data['alt_name'];
}
/* Get the company name. */
public function getName()
{
return $this->name;
}
/* Get the alternative name */
public function getAltName()
{
return $this->alt_name;
}
}