| 1 | <?php |
||
| 7 | class TwitterEntityIndices implements TwitterSerializable |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | private $from; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | private $to; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor. |
||
| 21 | */ |
||
| 22 | 9 | public function __construct() |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return int |
||
| 28 | */ |
||
| 29 | 9 | public function getFrom() |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return int |
||
| 36 | */ |
||
| 37 | 9 | public function getTo() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Static constructor. |
||
| 44 | * |
||
| 45 | * @param int $from |
||
| 46 | * @param int $to |
||
| 47 | * |
||
| 48 | * @return TwitterEntityIndices |
||
| 49 | */ |
||
| 50 | 9 | public static function create($from, $to) |
|
| 59 | } |
||
| 60 |