daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. namespace Sonis\DiffusionBundle\Malibrairie;
  4.  
  5. use Doctrine\ORM\EntityManager;
  6.  
  7. class ProfileManager
  8. {
  9.  
  10.     protected $em;
  11.     protected $session;
  12.      
  13.     public function __construct(EntityManager $em, Session $session)
  14.      {
  15.      $this->em = $em ;
  16.      $this->session = $session;
  17.      }
  18.      
  19.     public function session ()
  20.     {
  21.     return $this->session->get('UtilisateurNom');
  22.     }
  23.          
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top