This repository has been archived on 2020-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
2018-03-20 14:44:25 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A pair with two elements.
|
|
|
|
*/
|
|
|
|
class Pair
|
|
|
|
{
|
2018-03-23 09:06:05 +00:00
|
|
|
/**
|
|
|
|
* First value of the pair.
|
|
|
|
*
|
|
|
|
* @var mixed $first
|
|
|
|
*/
|
2018-03-20 14:44:25 +00:00
|
|
|
public $first;
|
|
|
|
|
2018-03-23 09:06:05 +00:00
|
|
|
/**
|
|
|
|
* Second value of the pair.
|
|
|
|
*
|
|
|
|
* @var mixed $second
|
|
|
|
*/
|
2018-03-20 14:44:25 +00:00
|
|
|
public $second;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructor.
|
|
|
|
*
|
2018-03-23 09:06:05 +00:00
|
|
|
* @param mixed $first
|
|
|
|
* @param mixed $second
|
2018-03-20 14:44:25 +00:00
|
|
|
*/
|
|
|
|
function __construct($first, $second) {}
|
2018-09-06 03:46:53 +00:00
|
|
|
}
|