setDelay() публичный Метод

Sets the delay.
public setDelay ( integer $delay ) : void
$delay integer
Результат void
Пример #1
0
 /**
  * Throws a throttling exception.
  *
  * @param  string  $message
  * @param  string  $type
  * @param  int  $delay
  * @throws \Cartalyst\Sentinel\Checkpoints\ThrottlingException
  */
 protected function throwException($message, $type, $delay)
 {
     $exception = new ThrottlingException($message);
     $exception->setDelay($delay);
     $exception->setType($type);
     throw $exception;
 }