• File: wrap-core-dependency.php
  • Full Path: /home/blwgracecity/jesusexp.org/wp-content/plugins/elementor/core/experiments/wrap-core-dependency.php
  • File size: 579 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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 );
	}
}