Yoast\WP\SEO\MyYoast_Client\Application\Exceptions
Rate_Limited_Exception::__construct
Rate_Limited_Exception constructor.
Метод класса: Rate_Limited_Exception{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Rate_Limited_Exception = new Rate_Limited_Exception(); $Rate_Limited_Exception->__construct( $message, ?int $retry_after_seconds );
- $message(строка) (обязательный)
- The exception message.
- ?int $retry_after_seconds
- .
По умолчанию:null
Код Rate_Limited_Exception::__construct() Rate Limited Exception:: construct Yoast 28.9
public function __construct( string $message, ?int $retry_after_seconds = null ) {
parent::__construct( $message );
$this->retry_after_seconds = $retry_after_seconds;
}