A simple but silly problem is blocking me on symfony tonight… I need to use the UserInterface class of the security component to retrieve information about the current user. However symfony tells me that this class doesn’t exist. I checked "security" is well installed and the paths are good… My code : <?php namespace AppController; ..
How can i get file contents via Symfony Filesystem component? I was looked for copy and mirror methods – but they needs string as path as parameters… In php is alternative, native function file_get_contents(). Is there some method to get content via component? Or i sohould use native php function? Or something i can’t see? ..