setTries() 공개 메소드

Sets the maximum number of fetch attempts.
public setTries ( integer $tries )
$tries integer Maximum fetch attempts.
예제 #1
0
 public function testOneTry()
 {
     $this->setExpectedException(FailingTooHardException::class, '1');
     $this->fetch($this->connector->setTries(1));
 }