{"action":"closed","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/453","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/453/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/453/events","html_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/issues/453","id":56160290,"number":453,"title":"Does FOSCommentBundle support custom entity class?","user":{"login":"jamescheng16","id":4263914,"avatar_url":"https://avatars.githubusercontent.com/u/4263914?v=3","gravatar_id":"","url":"https://api.github.com/users/jamescheng16","html_url":"https://github.com/jamescheng16","followers_url":"https://api.github.com/users/jamescheng16/followers","following_url":"https://api.github.com/users/jamescheng16/following{/other_user}","gists_url":"https://api.github.com/users/jamescheng16/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescheng16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescheng16/subscriptions","organizations_url":"https://api.github.com/users/jamescheng16/orgs","repos_url":"https://api.github.com/users/jamescheng16/repos","events_url":"https://api.github.com/users/jamescheng16/events{/privacy}","received_events_url":"https://api.github.com/users/jamescheng16/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-01T11:10:54Z","updated_at":"2015-02-23T09:07:40Z","closed_at":"2015-02-23T09:07:39Z","body":"I'm new to the FOSCommentBundle, I have a question, Does FOSCommentBundle support custom entity class? \r\n\r\nI added a custom entity into a comment entity like :\r\n\r\nclass PointComment extends BaseComment implements SignedCommentInterface, VotableCommentInterface\r\n{\r\n\r\n    /**\r\n     * @ORM\\ManyToOne(targetEntity=\"SomeBundle\\Entity\\Point\", cascade={\"persist\"})\r\n     * @ORM\\JoinColumn(nullable=false)\r\n     */\r\n    private $point;\r\n\r\nCan I make a comment and link this comment to a custom entity with the relation ManyToOne, If the answer is YES, how to pass the id of my entity(Point) from the View of FOSComment to my controller.\r\n\r\nThanks a lot."}}