1 | <?php |
||
7 | class TwitterEntities implements TwitterSerializable |
||
8 | { |
||
9 | /** |
||
10 | * @var TwitterHashtag[] |
||
11 | */ |
||
12 | private $hashtags; |
||
13 | |||
14 | /** |
||
15 | * @var TwitterSymbol[] |
||
16 | */ |
||
17 | private $symbols; |
||
18 | |||
19 | /** |
||
20 | * @var TwitterUrl[] |
||
21 | */ |
||
22 | private $urls; |
||
23 | |||
24 | /** |
||
25 | * @var TwitterUserMention[] |
||
26 | */ |
||
27 | private $userMentions; |
||
28 | |||
29 | /** |
||
30 | * @var TwitterMedia[] |
||
31 | */ |
||
32 | private $media; |
||
33 | |||
34 | /** |
||
35 | * @var TwitterExtendedEntity[] |
||
36 | */ |
||
37 | private $extendedEntities; |
||
38 | |||
39 | /** |
||
40 | * Constructor. |
||
41 | */ |
||
42 | 18 | public function __construct() |
|
45 | |||
46 | /** |
||
47 | * @return TwitterExtendedEntity[] |
||
48 | */ |
||
49 | 9 | public function getExtendedEntities() |
|
53 | |||
54 | /** |
||
55 | * @return TwitterHashtag[] |
||
56 | */ |
||
57 | 9 | public function getHashtags() |
|
61 | |||
62 | /** |
||
63 | * @return TwitterMedia[] |
||
64 | */ |
||
65 | 9 | public function getMedia() |
|
69 | |||
70 | /** |
||
71 | * @return TwitterSymbol[] |
||
72 | */ |
||
73 | 9 | public function getSymbols() |
|
77 | |||
78 | /** |
||
79 | * @return TwitterUrl[] |
||
80 | */ |
||
81 | 9 | public function getUrls() |
|
85 | |||
86 | /** |
||
87 | * @return TwitterUserMention[] |
||
88 | */ |
||
89 | 9 | public function getUserMentions() |
|
93 | |||
94 | /** |
||
95 | * Static constructor. |
||
96 | * |
||
97 | * @param TwitterHashtag[] $hashtags |
||
98 | * @param TwitterUserMention[] $userMentions |
||
99 | * @param TwitterUrl[] $urls |
||
100 | * @param TwitterMedia[] $media |
||
101 | * @param TwitterSymbol[] $symbols |
||
102 | * @param TwitterExtendedEntity[] $extendedEntities |
||
103 | * |
||
104 | * @return TwitterEntities |
||
105 | */ |
||
106 | 18 | public static function create( |
|
125 | } |
||
126 |