Returns the amount of time to wait for a new event each time the
socket is polled.
public getTimeout ( ) : float | ||
리턴 | float | Amount of time in seconds |
/** * Tests that a custom socket timeout can be set. * * @return void */ public function testSetTimeout() { $timeout = 0.2; $this->driver->setTimeout($timeout); $this->assertequals($timeout, $this->driver->getTimeout()); }