Reflection turned out to be bad, since I cannot implement my own method in entities, like Post::setUser() instead of Post::setUserId().