S
S
Steve2021-09-21 13:53:32
symfony
Steve, 2021-09-21 13:53:32

How to pass a User object to a controller using mocks?

I don't understand how to pass the User object to the controller using mocks. AAAAAAAAAAA
Controller method where to pass this
BuildingRepresentation($building, User $user);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question