mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-05-21 05:40:47 +00:00
28 lines
558 B
PHP
28 lines
558 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 string $alias;
|
|
|
|
/**
|
|
* Person object constructor.
|
|
* @param array{'description'?: string, 'name'?: string, 'alias': string} $data
|
|
*/
|
|
public function __construct($data)
|
|
{
|
|
parent::__construct($data);
|
|
$this->alias = $data['alias'];
|
|
}
|
|
|
|
/* Get the alias. */
|
|
public function getAlias(): string
|
|
{
|
|
return $this->alias;
|
|
}
|
|
}
|