| 1 |
<?php |
| 2 |
namespace Elementor\Modules\Promotions\Controls; |
| 3 |
|
| 4 |
use Elementor\Modules\AtomicWidgets\Controls\Base\Atomic_Control_Base; |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; // Exit if accessed directly. |
| 8 |
} |
| 9 |
|
| 10 |
class Atomic_Promotion_Control extends Atomic_Control_Base { |
| 11 |
|
| 12 |
public static function make( string $type ): self { |
| 13 |
return new self( $type ); |
| 14 |
} |
| 15 |
|
| 16 |
public function get_type(): string { |
| 17 |
return $this->get_bind(); |
| 18 |
} |
| 19 |
|
| 20 |
public function get_props(): array { |
| 21 |
return []; |
| 22 |
} |
| 23 |
} |
| 24 |
|