| 1 | <?php |
||
| 8 | class TwitterUserMention extends TwitterEntity implements TwitterBasicUser |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var int |
||
| 12 | */ |
||
| 13 | private $id; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $screenName; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $name; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Construct. |
||
| 27 | */ |
||
| 28 | 9 | public function __construct() |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return int |
||
| 34 | */ |
||
| 35 | 9 | public function getId() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 9 | public function getName() |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 9 | public function getScreenName() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | 3 | public function __toString() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * Static constructor. |
||
| 66 | * |
||
| 67 | * @param int $id |
||
| 68 | * @param string $screenName |
||
| 69 | * @param string $name |
||
| 70 | * @param TwitterEntityIndices $indices |
||
| 71 | * |
||
| 72 | * @return TwitterUserMention |
||
| 73 | */ |
||
| 74 | 9 | public static function create($id, $screenName, $name, TwitterEntityIndices $indices) |
|
| 86 | } |
||
| 87 |