After logging in by the controller LOGIN , a session is created with the ID of this user on the system, from that ID fetch "with all your information, the big problem is that when logging the user a navbar is at the top of the site, eg:
Thisnavbarisintheheader.phtmlfile,whichisnota"view", but is called when a view is instantiated, to show the user's navbar on all the pages I have to go through a array with that user's data for all the controllers through the main controller in which they all extend, so they will "play" this information at header.phtml , what would be the best way to pass logged-in user information to all controllers and display it in views