HEX
Server: Apache
System: Linux andromeda.lojoweb.com 4.18.0-372.26.1.el8_6.x86_64 #1 SMP Tue Sep 13 06:07:14 EDT 2022 x86_64
User: nakedfoamlojoweb (1056)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/cwd/wp-content/plugins/woocommerce/src/Internal/Admin/ProductForm/ComponentTrait.php
<?php
/**
 * Product Form Traits
 */

namespace Automattic\WooCommerce\Internal\Admin\ProductForm;

defined( 'ABSPATH' ) || exit;

/**
 * ComponentTrait class.
 */
trait ComponentTrait {
	/**
	 * Component ID.
	 *
	 * @var string
	 */
	protected $id;

	/**
	 * Plugin ID.
	 *
	 * @var string
	 */
	protected $plugin_id;

	/**
	 * Product form component location.
	 *
	 * @var string
	 */
	protected $location;

	/**
	 * Product form component order.
	 *
	 * @var number
	 */
	protected $order;

	/**
	 * Return id.
	 *
	 * @return string
	 */
	public function get_id() {
		return $this->id;
	}

	/**
	 * Return plugin id.
	 *
	 * @return string
	 */
	public function get_plugin_id() {
		return $this->plugin_id;
	}
}