Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Sonis\DiffusionBundle\Malibrairie;
- use Doctrine\ORM\EntityManager;
- class ProfileManager
- {
- protected $em;
- protected $session;
- public function __construct(EntityManager $em, Session $session)
- {
- $this->em = $em ;
- $this->session = $session;
- }
- public function session ()
- {
- return $this->session->get('UtilisateurNom');
- }
- }
Add Comment
Please, Sign In to add comment