Yoast\WP\SEO\MyYoast_Client\Domain

Token_Set::with_resource_indicatorpublicYoast 1.0

Returns a new Token_Set bound to the given resource indicator.

Метод класса: Token_Set{}

Хуков нет.

Возвращает

self.

Использование

$Token_Set = new Token_Set();
$Token_Set->with_resource_indicator( $resource_indicator ): self;
$resource_indicator(Resource_Indicator) (обязательный)
The resource indicator.

Код Token_Set::with_resource_indicator() Yoast 28.3

public function with_resource_indicator( Resource_Indicator $resource_indicator ): self {
	return new self(
		$this->access_token,
		$this->expires_at,
		$this->token_type,
		$this->refresh_token,
		$this->id_token,
		$this->scope,
		$this->error_count,
		$resource_indicator,
	);
}