first commit

This commit is contained in:
2025-08-04 16:00:02 +02:00
commit 807c9b262f
7069 changed files with 2784666 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
<?php
namespace Elementor\Modules\AtomicWidgets\PropsResolver;
use Elementor\Modules\AtomicWidgets\PropTypes\Contracts\Transformable_Prop_Type;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Props_Resolver_Context {
private ?string $key = null;
private ?Transformable_Prop_Type $prop_type;
private bool $disabled = false;
public static function make(): self {
return new static();
}
public function set_key( ?string $key ): self {
$this->key = $key;
return $this;
}
public function set_disabled( bool $disabled ): self {
$this->disabled = $disabled;
return $this;
}
public function set_prop_type( Transformable_Prop_Type $prop_type ): self {
$this->prop_type = $prop_type;
return $this;
}
public function get_key(): ?string {
return $this->key;
}
public function is_disabled(): bool {
return $this->disabled;
}
public function get_prop_type(): ?Transformable_Prop_Type {
return $this->prop_type;
}
}