| 1 | <?php |
||
| 11 | class In implements Activator |
||
| 12 | { |
||
| 13 | protected $values; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * InArray constructor. |
||
| 17 | * |
||
| 18 | * @param array|Collection $values |
||
| 19 | */ |
||
| 20 | 7 | public function __construct($values) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Result of matching activator. |
||
| 31 | * |
||
| 32 | * @param MessageReceived $message |
||
| 33 | * |
||
| 34 | * @return bool |
||
| 35 | */ |
||
| 36 | 4 | public function matches(MessageReceived $message): bool |
|
| 46 | } |
||
| 47 |