| 1 | <?php |
||
| 15 | class SearchTarget extends NotificationType |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Return whether to search for all devices |
||
| 19 | * |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | public function isAll() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Create search target from string. |
||
| 45 | * |
||
| 46 | * @param string $searchTarget |
||
| 47 | * |
||
| 48 | * @return self |
||
| 49 | */ |
||
| 50 | public static function fromString($searchTarget) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function toString() |
||
| 70 | } |
||
| 71 |