File "ObjectWithId.php"

Full Path: /home/jovision/public_html/wp/wp-content/plugins/woocommerce/src/Api/Interfaces/ObjectWithId.php
File size: 405 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace Automattic\WooCommerce\Api\Interfaces;

use Automattic\WooCommerce\Api\Attributes\Description;

/**
 * Interface trait for objects that have a numeric ID.
 */
#[Description( 'An object with a numeric ID.' )]
trait ObjectWithId {
	/**
	 * The unique numeric identifier.
	 *
	 * @var int
	 */
	#[Description( 'The unique numeric identifier.' )]
	public int $id;
}