| @@ 38-48 (lines=11) @@ | ||
| 35 | } |
|
| 36 | ||
| 37 | ||
| 38 | public function addCharacteristic($type, $value) |
|
| 39 | { |
|
| 40 | $this->info( |
|
| 41 | sprintf('Set %s to %s', $type, $value), |
|
| 42 | [ |
|
| 43 | 'type' => 'characteristic', |
|
| 44 | 'characteristic' => $type, |
|
| 45 | 'value' => $value |
|
| 46 | ] |
|
| 47 | ); |
|
| 48 | } |
|
| 49 | ||
| 50 | public function getInvokedTest() |
|
| 51 | { |
|
| @@ 33-43 (lines=11) @@ | ||
| 30 | $listener->addListener($this); |
|
| 31 | } |
|
| 32 | ||
| 33 | public function addCharacteristic($type, $value) |
|
| 34 | { |
|
| 35 | $this->info( |
|
| 36 | sprintf('Set %s to %s', $type, $value), |
|
| 37 | [ |
|
| 38 | 'type' => 'characteristic', |
|
| 39 | 'characteristic' => $type, |
|
| 40 | 'value' => $value |
|
| 41 | ] |
|
| 42 | ); |
|
| 43 | } |
|
| 44 | ||
| 45 | public function getInvokedTest() |
|
| 46 | { |
|