Files
2020-09-27 22:08:07 -04:00

33 lines
674 B
PHP

<?php
namespace ScummVM\Objects;
/**
* The Company object represents companies with games
* known to ScummVM.
*/
class Company extends DataObject
{
private $name;
private $alt_name;
/* Article object constructor. */
public function __construct($data)
{
parent::__construct($data);
$this->name = $this->assignFromArray('name', $data, true);
$this->alt_name = $this->assignFromArray('alt_name', $data);
}
/* Get the company name. */
public function getName()
{
return $this->name;
}
/* Get the alternative name */
public function getAltName()
{
return $this->alt_name;
}
}