# elementor/4.0.4/modules/atomic-widgets/props-resolver/props-resolver-context.php

Elementor Website Builder – more than just a page builder, version 4.0.4. 52 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.0.4/code/modules/atomic-widgets/props-resolver/props-resolver-context.php
- Raw: https://pluginprobe.com/plugins/elementor/4.0.4/raw/modules/atomic-widgets/props-resolver/props-resolver-context.php
- Modified: 2026-02-02T09:52:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/4.0.4/code/modules/atomic-widgets/props-resolver/props-resolver-context.php#L10-L20`.

```php
<?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;
	}
}

```
