Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Drupal\visitors;
6
7/**
8 * Interface for visitors AI assistants service.
9 */
10interface VisitorsAiAssistantsInterface {
11
12  /**
13   * Match a hostname to an AI assistant.
14   *
15   * @param string $hostname
16   *   The hostname to match.
17   *
18   * @return string|null
19   *   The AI assistant label if matched, null otherwise.
20   */
21  public function match(string $hostname): ?string;
22
23}