File "transformations-abstract.php"

Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/plugins/elementor/modules/home/transformations/base/transformations-abstract.php
File size: 498 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace Elementor\Modules\Home\Transformations\Base;

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

abstract class Transformations_Abstract {

	protected $wordpress_adapter;
	protected $plugin_status_adapter;

	public function __construct( $args ) {
		$this->wordpress_adapter = $args['wordpress_adapter'] ?? null;
		$this->plugin_status_adapter = $args['plugin_status_adapter'] ?? null;
	}

	abstract public function transform( array $home_screen_data ): array;
}