- private $container;
-
- /**
- * @var UserPasswordHasherInterface
- */
- private $hasher;
-
- public function setContainer(ContainerInterface $container = null) {
- $this->container = $container;
- $this->hasher = $this->container->get('security.password_hasher_factory');