$hasherKey =
$class;
break;
} } } if (null ===
$hasherKey) { throw new \
RuntimeException(sprintf('No password hasher has been configured for account "%s".', \
is_object($user) ?
get_debug_type($user) :
$user));
} if (!
$this->passwordHashers
[$hasherKey] instanceof PasswordHasherInterface
) { $this->passwordHashers
[$hasherKey] =
$this->
createHasher($this->passwordHashers
[$hasherKey]);
} return $this->passwordHashers
[$hasherKey];
} /**
* Creates the actual hasher instance.
*
* @throws \InvalidArgumentException
*/
private function createHasher(array
$config, bool
$isExtra = false
): PasswordHasherInterface
{