Let's assume, that I have two entity classes:
\AppBundle\Entity\User - user provider;
\AppBundle\Entity\Article - simple article.
The Article class also have these properties:
author - indicating on user which created this particular entity;
updatedBy - indicating on user which lately updated content of particular article.
How to pass currently logged user object to Article entity to set specific values on author and/or updatedBy properties on backend generated by EasyAdminBundle on Symfony 3.0.1?