| 1 | <?php |
||
| 5 | class TwitterMessageId |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $id; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Constructor. |
||
| 14 | */ |
||
| 15 | 99 | public function __construct() |
|
| 16 | { |
||
| 17 | 99 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | 36 | public function __toString() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Static constructor. |
||
| 29 | * |
||
| 30 | * @param mixed $id |
||
| 31 | * |
||
| 32 | * @return TwitterMessageId |
||
| 33 | */ |
||
| 34 | 99 | public static function create($id) |
|
| 42 | } |
||
| 43 |