static function construct($name, $id, $aliases = [])
  {
    $user = new NyaaUser();
    $user->name = $name;
    $user->id = $id;
    $user->aliases = $aliases;

    return $user;
  }
static function construct($name, $id, $aliases = [])
  {
    $user = new NyaaUser();
    $user->name = $name;
    $user->id = $id;
    $user->aliases = $aliases;

    return $user;
  }
static function construct ( $ name , $ id , $ aliases = [ ] ) { $ user = new NyaaUser ( ) ; $ user -> name = $ name ; $ user -> id = $ id ; $ user -> aliases = $ aliases ; return $ user ; }
Constructs a new NyaaUser
@param string $name The name this NyaaUser works under
@param int $id The id of the user
@param array $aliases Array with aliases this NyaaUser works under
@return NyaaUser
Constructs a new NyaaUser