Automattic\WooCommerce\Internal\PushNotifications\Entities

PushToken::get_platformpublicWC 10.4.0

Gets the platform.

Method of the class: PushToken{}

No Hooks.

Returns

String|null.

Usage

$PushToken = new PushToken();
$PushToken->get_platform(): ?string;

Changelog

Since 10.4.0 Introduced.

PushToken::get_platform() code WC 10.8.1

public function get_platform(): ?string {
	return $this->platform;
}