title: How to work with groups in Hateoas PHP library?
body: <p>I'm using <a href="https://github.com/willdurand/Hateoas" rel="nofollow">Hateoas</a> library with Symfony.</p>
  
  <p>And I have a Doctrine entity and want to restrict some of the embedded content. I saw that Hateoas has exclusion for groups but I don't have any idea how to configure them and didn't found nothing about it in lib documentation. Any help would be appreciated.</p>