<?php

namespace Drupal\visitors;

/**
 * Interface for visitors spam.
 */
interface VisitorsSpamInterface {

  /**
   * Match the URL to a spam.
   *
   * @param string $host
   *   The host to match.
   *
   * @return bool
   *   TRUE if the host matches a spam site, FALSE otherwise.
   */
  public function match(string $host): bool;

}
