* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\UserBundle\Entity; use Doctrine\ORM\EntityManager; use FOS\UserBundle\Doctrine\UserManager as BaseUserManager; use FOS\UserBundle\Util\CanonicalizerInterface; use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface; /** * BC class for people extending it in their bundle. * TODO Remove this class on July 31st */ class UserManager extends BaseUserManager { protected $em; public function __construct(EncoderFactoryInterface $encoderFactory, CanonicalizerInterface $usernameCanonicalizer, CanonicalizerInterface $emailCanonicalizer, EntityManager $em, $class) { parent::__construct($encoderFactory, $usernameCanonicalizer, $emailCanonicalizer, $em, $class); $this->em = $em; } }