Eccube\Repository\CustomerRepository::encryptPassword PHP Method

encryptPassword() public method

入力されたパスワードをSaltと暗号化する
public encryptPassword ( $app, Customer $Customer ) : mixed
$app
$Customer Eccube\Entity\Customer
return mixed
    public function encryptPassword($app, \Eccube\Entity\Customer $Customer)
    {
        $encoder = $app['security.encoder_factory']->getEncoder($Customer);
        return $encoder->encodePassword($Customer->getPassword(), $Customer->getSalt());
    }