Yoast\WP\SEO\MyYoast_Client\Domain

Registered_Client::to_arraypublicYoast 1.0

Converts the DTO to an associative array for storage.

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

Хуков нет.

Возвращает

Массив<Строку,. string|array<string>>

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

$Registered_Client = new Registered_Client();
$Registered_Client->to_array(): array;

Код Registered_Client::to_array() Yoast 27.7

public function to_array(): array {
	return [
		'client_id'                 => $this->client_id,
		'registration_access_token' => $this->registration_access_token,
		'registration_client_uri'   => $this->registration_client_uri,
		'metadata'                  => $this->metadata,
	];
}