| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 65 | 9 | public static function create($url, $displayUrl, $expandedUrl, TwitterEntityIndices $indices) |
|
| 66 | { |
||
| 67 | 9 | $obj = new self(); |
|
| 68 | |||
| 69 | 9 | $obj->initTwitterEntity($indices); |
|
| 70 | |||
| 71 | 9 | $obj->displayUrl = $displayUrl; |
|
| 72 | 9 | $obj->expandedUrl = $expandedUrl; |
|
| 73 | 9 | $obj->url = $url; |
|
| 74 | |||
| 75 | 9 | return $obj; |
|
| 76 | } |
||
| 77 | } |
||
| 78 |