/** * * @param int $id */ public static function getById($id) { $comment = new RatingsComments(); $comment->getResource()->getById($id); return $comment; }