@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public function onDeviceStateChange(callable $callback) |
| 61 | 61 | { |
| 62 | - $this->on(Event::DEVICE_STATE_CHANGE.'_'.$this->getName(), $callback); |
|
| 62 | + $this->on(Event::DEVICE_STATE_CHANGE . '_' . $this->getName(), $callback); |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | */ |
| 68 | 68 | public function onceDeviceStateChange(callable $callback) |
| 69 | 69 | { |
| 70 | - $this->once(Event::DEVICE_STATE_CHANGE.'_'.$this->getName(), $callback); |
|
| 70 | + $this->once(Event::DEVICE_STATE_CHANGE . '_' . $this->getName(), $callback); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | public function onEndpointStateChange(callable $callback) |
| 87 | 87 | { |
| 88 | - $this->on(Event::ENDPOINT_STATE_CHANGE.'_'.$this->getResource(), $callback); |
|
| 88 | + $this->on(Event::ENDPOINT_STATE_CHANGE . '_' . $this->getResource(), $callback); |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /** |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | public function onceEndpointStateChange(callable $callback) |
| 95 | 95 | { |
| 96 | - $this->once(Event::ENDPOINT_STATE_CHANGE.'_'.$this->getResource(), $callback); |
|
| 96 | + $this->once(Event::ENDPOINT_STATE_CHANGE . '_' . $this->getResource(), $callback); |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | */ |
| 138 | 138 | public function onRecordingFailed(callable $callback) |
| 139 | 139 | { |
| 140 | - $this->on(Event::RECORDING_FAILED.'_'.$this->getName(), $callback); |
|
| 140 | + $this->on(Event::RECORDING_FAILED . '_' . $this->getName(), $callback); |
|
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | /** |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | */ |
| 146 | 146 | public function onceRecordingFailed(callable $callback) |
| 147 | 147 | { |
| 148 | - $this->once(Event::RECORDING_FAILED.'_'.$this->getName(), $callback); |
|
| 148 | + $this->once(Event::RECORDING_FAILED . '_' . $this->getName(), $callback); |
|
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | */ |
| 154 | 154 | public function onRecordingFinished(callable $callback) |
| 155 | 155 | { |
| 156 | - $this->on(Event::RECORDING_FINISHED.'_'.$this->getName(), $callback); |
|
| 156 | + $this->on(Event::RECORDING_FINISHED . '_' . $this->getName(), $callback); |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | */ |
| 162 | 162 | public function onceRecordingFinished(callable $callback) |
| 163 | 163 | { |
| 164 | - $this->once(Event::RECORDING_FINISHED.'_'.$this->getName(), $callback); |
|
| 164 | + $this->once(Event::RECORDING_FINISHED . '_' . $this->getName(), $callback); |
|
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | */ |
| 170 | 170 | public function onRecordingStarted(callable $callback) |
| 171 | 171 | { |
| 172 | - $this->on(Event::RECORDING_STARTED.'_'.$this->getName(), $callback); |
|
| 172 | + $this->on(Event::RECORDING_STARTED . '_' . $this->getName(), $callback); |
|
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | */ |
| 178 | 178 | public function onceRecordingStarted(callable $callback) |
| 179 | 179 | { |
| 180 | - $this->once(Event::RECORDING_STARTED.'_'.$this->getName(), $callback); |
|
| 180 | + $this->once(Event::RECORDING_STARTED . '_' . $this->getName(), $callback); |
|
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | public function onPlaybackStarted(callable $callback) |
| 100 | 100 | { |
| 101 | - $this->on(Event::PLAYBACK_STARTED.'_'.$this->getId(), $callback); |
|
| 101 | + $this->on(Event::PLAYBACK_STARTED . '_' . $this->getId(), $callback); |
|
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | */ |
| 107 | 107 | public function oncePlaybackStarted(callable $callback) |
| 108 | 108 | { |
| 109 | - $this->once(Event::PLAYBACK_STARTED.'_'.$this->getId(), $callback); |
|
| 109 | + $this->once(Event::PLAYBACK_STARTED . '_' . $this->getId(), $callback); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | public function onPlaybackFinished(callable $callback) |
| 116 | 116 | { |
| 117 | - $this->on(Event::PLAYBACK_FINISHED.'_'.$this->getId(), $callback); |
|
| 117 | + $this->on(Event::PLAYBACK_FINISHED . '_' . $this->getId(), $callback); |
|
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | */ |
| 123 | 123 | public function oncePlaybackFinished(callable $callback) |
| 124 | 124 | { |
| 125 | - $this->once(Event::PLAYBACK_FINISHED.'_'.$this->getId(), $callback); |
|
| 125 | + $this->once(Event::PLAYBACK_FINISHED . '_' . $this->getId(), $callback); |
|
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | /** |