Returns the state of the WATCH flag.
public isWatching ( ) : boolean | ||
return | boolean |
/** * @group disconnected */ public function testIsWatching() { $state = new MultiExecState(); $this->assertFalse($state->isWatching()); $state->set(MultiExecState::WATCH); $this->assertTrue($state->isWatching()); }