| 1 | <?php |
||
| 5 | class TwitterExtendedEntity extends AbstractTwitterMedia |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $videoInfo; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $durationMillis; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var TwitterVariantMedia[] |
||
| 19 | */ |
||
| 20 | private $variants; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor. |
||
| 24 | */ |
||
| 25 | 9 | public function __construct() |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | 9 | public function getDurationMillis() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return TwitterVariantMedia[] |
||
| 39 | */ |
||
| 40 | 9 | public function getVariants() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 9 | public function getVideoInfo() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * Static constructor. |
||
| 55 | * |
||
| 56 | * @param int $id |
||
| 57 | * @param string $mediaUrl |
||
| 58 | * @param string $mediaUrlHttps |
||
| 59 | * @param string $url |
||
| 60 | * @param string $displayUrl |
||
| 61 | * @param string $expandedUrl |
||
| 62 | * @param TwitterMediaSize[] $sizes |
||
| 63 | * @param string $type |
||
| 64 | * @param string $videoInfo |
||
| 65 | * @param int $durationMillis |
||
| 66 | * @param TwitterVariantMedia[] $variants |
||
| 67 | * @param TwitterEntityIndices $indices |
||
| 68 | * |
||
| 69 | * @return TwitterExtendedEntity |
||
| 70 | */ |
||
| 71 | 9 | public static function create( |
|
| 105 | } |
||
| 106 |