Yoast\WP\SEO\MyYoast_Client\Application
Callback_Outcome::__construct
Callback_Outcome constructor.
Метод класса: Callback_Outcome{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->__construct( $is_success, $is_no_op, $error_phase, ?string $error_code );
- $is_success(true|false) (обязательный)
- Whether the callback succeeded.
- $is_no_op(true|false) (обязательный)
- Whether the request was not a real callback.
- $error_phase(строка) (обязательный)
- The OAuth phase that produced a failure.
- ?string $error_code(обязательный)
- .
Код Callback_Outcome::__construct() Callback Outcome:: construct Yoast 28.9
private function __construct( bool $is_success, bool $is_no_op, string $error_phase, ?string $error_code ) {
$this->is_success = $is_success;
$this->is_no_op = $is_no_op;
$this->error_phase = $error_phase;
$this->error_code = $error_code;
}