| 1 | <?php |
||
| 10 | class Exact implements Activator |
||
| 11 | { |
||
| 12 | private $value; |
||
| 13 | private $caseSensitive; |
||
| 14 | |||
| 15 | 6 | public function __construct(string $value, bool $caseSensitive = false) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * Result of matching activator. |
||
| 23 | * |
||
| 24 | * @param MessageReceived $message |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | 5 | public function matches(MessageReceived $message): bool |
|
| 42 | } |
||
| 43 |