File "style-transformer-base.php"

Full Path: /home/amervokv/ecomlive.net/wp-content/plugins/elementor/modules/atomic-widgets/base/style-transformer-base.php
File size: 435 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace Elementor\Modules\AtomicWidgets\Base;

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

abstract class Style_Transformer_Base {
	/**
	 * Get the transformer type.
	 *
	 * @return string
	 */
	abstract public static function type(): string;

	/**
	 * Transform the value.
	 *
	 * @param mixed $value
	 *
	 * @return mixed
	 */
	abstract public function transform( $value, callable $transform );
}