# elementor/4.0.3/core/isolation/elementor-counter-adapter-interface.php

Elementor Website Builder – more than just a page builder, version 4.0.3. 18 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.0.3/code/core/isolation/elementor-counter-adapter-interface.php
- Raw: https://pluginprobe.com/plugins/elementor/4.0.3/raw/core/isolation/elementor-counter-adapter-interface.php
- Modified: 2025-03-17T13:28:54+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.3/code/core/isolation/elementor-counter-adapter-interface.php#L10-L20`.

```php
<?php

namespace Elementor\Core\Isolation;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

interface Elementor_Counter_Adapter_Interface {
	public function get_count( $key ): ?int;

	public function set_count( $key, $count = 0 ): void;

	public function increment( $key ): void;

	public function is_key_allowed( $key ): bool;
}

```
