# elementor/4.3.1/modules/atomic-widgets/css-converter/expander-registry.php

Elementor Website Builder – more than just a page builder, version 4.3.1. 30 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.3.1/code/modules/atomic-widgets/css-converter/expander-registry.php
- Raw: https://pluginprobe.com/plugins/elementor/4.3.1/raw/modules/atomic-widgets/css-converter/expander-registry.php
- Modified: 2026-07-20T13:54:42+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.3.1/code/modules/atomic-widgets/css-converter/expander-registry.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\AtomicWidgets\CssConverter;

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

class Expander_Registry {
	/**
	 * @var Shorthand_Expander[]
	 */
	private array $expanders = [];

	public function register( Shorthand_Expander $expander ): self {
		$this->expanders[] = $expander;

		return $this;
	}

	/**
	 * Expanders in registration order. The dispatcher applies the first one that supports a rule.
	 *
	 * @return Shorthand_Expander[]
	 */
	public function all(): array {
		return $this->expanders;
	}
}

```
