| 1 | <?php  | 
            ||
| 7 | class TwitterHashtag extends TwitterEntity  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var string  | 
            ||
| 11 | */  | 
            ||
| 12 | private $text;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * Constructor.  | 
            ||
| 16 | */  | 
            ||
| 17 | 9 | public function __construct()  | 
            |
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @return string  | 
            ||
| 23 | */  | 
            ||
| 24 | 9 | public function getText()  | 
            |
| 28 | |||
| 29 | 3 | public function __toString()  | 
            |
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * Static constructor.  | 
            ||
| 36 | *  | 
            ||
| 37 | * @param string $text  | 
            ||
| 38 | * @param TwitterEntityIndices $indices  | 
            ||
| 39 | *  | 
            ||
| 40 | * @return TwitterHashtag  | 
            ||
| 41 | */  | 
            ||
| 42 | 9 | public static function create($text, TwitterEntityIndices $indices)  | 
            |
| 52 | }  | 
            ||
| 53 |