HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-dr82f 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/elementor/core/experiments/wrap-core-dependency.php
<?php
namespace Elementor\Core\Experiments;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Wrap_Core_Dependency {

	private $feature_data;

	public function __construct( $feature_data ) {
		$this->feature_data = $feature_data;
	}

	public function get_name() {
		return $this->feature_data['name'];
	}

	public function get_title() {
		return $this->feature_data['title'];
	}

	public function is_hidden() {
		return $this->feature_data['hidden'];
	}

	public static function instance( $feature_data ) {
		return new static( $feature_data );
	}
}