Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Tuiter; |
||
53 | public function __construct( |
||
54 | $id, |
||
55 | $text, |
||
56 | $source, |
||
57 | $createdAt, |
||
58 | $inReplyToStatusId = null, |
||
59 | $retweetedStatusId = null, |
||
60 | $expandedUrls = null |
||
61 | ) { |
||
62 | $this->id = $id; |
||
63 | $this->text = $text; |
||
64 | $this->source = $source; |
||
65 | $this->createdAt = new \DateTime($createdAt); |
||
66 | $this->inReplyToStatusId = $inReplyToStatusId; |
||
67 | $this->retweetedStatusId = $retweetedStatusId; |
||
68 | $this->expandedUrls = explode(',', $expandedUrls); |
||
69 | } |
||
70 | |||
88 |