I am trying to print an entity reference field (from paragraphs module) into a controller.    
[I learned from this ticket](http://drupal.stackexchange.com/questions/216009/twig-to-print-paragraph-field-in-controller) that you can use   
`{{ teacher.field_classrooms.entity.field_in_paragraph.value }}` to get the value of one field from  the entity, but what I really need is to print the whole entity not just one field from the entity. 

I was hoping to do something like `{{ teacher.field_classrooms.entity }}` rather than `{{ teacher.field_classrooms.entity.field_in_paragraph.value }}
{{ teacher.field_classrooms.entity.field_different_in_paragraph.value }}`.