public setTimeOut ( integer $seconds ) | ||
$seconds | integer | The timeout in seconds. |
public function setTimeOut($seconds)
{
$this->timeOut = (int) $seconds;
}
/** * Tests Dropbox->getTimeOut() */ public function testGetTimeOut() { $this->dropbox->setTimeOut(5); $this->assertEquals(5, $this->dropbox->getTimeOut()); }