Zepi/Web/AccessControl/src/Entity/User.php
protected function encodePassword($password)
    {
        $passwordSalted = $this->saltPassword($password);
        $passwordEncoded = password_hash($passwordSalted, PASSWORD_DEFAULT);
        
        return $passwordEncoded;
    }
protected function encodePassword($password)
    {
        $passwordSalted = $this->saltPassword($password);
        $passwordEncoded = password_hash($passwordSalted, PASSWORD_DEFAULT);
        
        return $passwordEncoded;
    }
protected function encodePassword ( $ password ) { $ passwordSalted = $ this -> saltPassword ( $ password ) ; $ passwordEncoded = password_hash ( $ passwordSalted , PASSWORD_DEFAULT ) ; return $ passwordEncoded ; }
Encodes the given plain password

@access protected
@param string $password
@return string
Encodes the given plain password