mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-06-20 05:45:49 +00:00
40 lines
763 B
PHP
40 lines
763 B
PHP
<?php
|
|
namespace ScummVM\Objects;
|
|
|
|
/**
|
|
* The Person class represents a person entry on the credits page on the
|
|
* website.
|
|
*/
|
|
class Person extends BasicObject
|
|
{
|
|
private $_name;
|
|
private $_alias;
|
|
private $_description;
|
|
|
|
/* Person object constructor. */
|
|
public function __construct($args)
|
|
{
|
|
$this->_name = $args['name'];
|
|
$this->_alias = $args['alias'];
|
|
$this->_description = $args['description'];
|
|
}
|
|
|
|
/* Get the name. */
|
|
public function getName()
|
|
{
|
|
return $this->_name;
|
|
}
|
|
|
|
/* Get the alias. */
|
|
public function getAlias()
|
|
{
|
|
return $this->_alias;
|
|
}
|
|
|
|
/* Get the description. */
|
|
public function getDescription()
|
|
{
|
|
return $this->_description;
|
|
}
|
|
}
|