| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function setDetails(Post $post) |
||
| 44 | { |
||
| 45 | $this->setIdents($post); |
||
| 46 | $this->media->is_video = $post->isVideo; |
||
| 47 | $this->media->caption = $post->caption; |
||
| 48 | $this->media->taken_at = $this->getNormalizedTakenAt($post); |
||
| 49 | $this->media->likes = $post->likes; |
||
| 50 | $this->media->comments = $post->comments; |
||
| 51 | |||
| 52 | return $this; |
||
| 53 | } |
||
| 64 | } |