| 1 | <?php |
||
| 10 | class Payload implements Activator |
||
| 11 | { |
||
| 12 | protected $value; |
||
| 13 | |||
| 14 | 3 | public function __construct(string $value) |
|
| 18 | |||
| 19 | /** |
||
| 20 | * Result of matching activator. |
||
| 21 | * |
||
| 22 | * @param MessageReceived $message |
||
| 23 | * |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | 2 | public function matches(MessageReceived $message): bool |
|
| 30 | } |
||
| 31 |