/**
  * @param string          $status
  * @param PosterInterface $poster
  * @param PosterInterface $parent
  * @param int             $privacyType
  * @param int             $privacyValue
  *
  * @return FeedStatus
  */
 public function addStatus($status, PosterInterface $poster, PosterInterface $parent = null, $privacyType, $privacyValue)
 {
     if (!$parent->viewerIsParent()) {
         list($privacyType, $privacyValue) = $parent->getPrivacy('activity__share_status');
     }
     $privacyText = json_encode(['view' => ['type' => $privacyType, 'value' => $privacyValue]]);
     $status = new FeedStatus(['poster_id' => $poster->getId(), 'user_id' => $poster->getUserId(), 'parent_id' => $parent->getId(), 'parent_user_id' => $parent->getUserId(), 'poster_type' => $poster->getType(), 'parent_type' => $parent->getType(), 'story' => (string) $status, 'privacy_type' => $privacyType, 'privacy_value' => $privacyValue, 'privacy_text' => $privacyText, 'created_at' => KENDO_DATE_TIME, 'modified_at' => KENDO_DATE_TIME]);
     $status->save();
     return $status;
 }