/** * Creates new * @param Feed $feed * @param $id * @return Comment */ public static function createFromId(Feed $feed, $id) { $forum = $feed->getForum(); $comment = new Comment($forum["ID"], $feed->getEntity()->getFullId()); $comment->setComment($id); return $comment; }