1 | <?php |
||
11 | class Exact implements Activator |
||
12 | { |
||
13 | protected $value; |
||
14 | protected $caseSensitive; |
||
15 | |||
16 | 6 | protected function __construct(string $value) |
|
20 | |||
21 | 6 | public static function make(string $value) |
|
25 | |||
26 | 1 | public function caseSensitive(): self |
|
32 | |||
33 | /** |
||
34 | * Result of matching activator. |
||
35 | * |
||
36 | * @param MessageReceived $message |
||
37 | * |
||
38 | * @return bool |
||
39 | */ |
||
40 | 6 | public function matches(MessageReceived $message): bool |
|
55 | } |
||
56 |