Pagekit\Auth\Encoder\NativePasswordEncoder::verify PHP Метод

verify() публичный Метод

public verify ( $hash, $raw, $salt = null )
    public function verify($hash, $raw, $salt = null)
    {
        if (null !== $salt) {
            throw new \InvalidArgumentException('The salt needs to be included with the hash.');
        }
        return password_verify($raw, $hash);
    }
NativePasswordEncoder