<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\Web\Classes\Addfunctions;

class Pair
{
  public $first;
  public $second;

  public function __construct($first = null, $second = null)
  {
    $this->first = $first;
    $this->second = $second;
  }

  public function toArray(): array
  {
    return array($this->first, $this->second);
  }
}