public getTimeout ( ) : float | ||
return | float | Amount of time in seconds |
public function getTimeout()
{
return $this->timeout;
}
/** * 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()); }