# metricool/trunk/app/Interfaces/FeatureInterface.php

Metricool – Social media and site statistics, version trunk. 21 lines.

- Page: https://pluginprobe.com/plugins/metricool/trunk/code/app/Interfaces/FeatureInterface.php
- Raw: https://pluginprobe.com/plugins/metricool/trunk/raw/app/Interfaces/FeatureInterface.php
- Modified: 2026-08-20T14:08:30+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/metricool/trunk/code/app/Interfaces/FeatureInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Metricool\Interfaces;

/**
 * This interface can be used to register a feature. Features will only
 * be accepted and registered by {@see FeatureManager} when they implement
 * this interface.
 */
interface FeatureInterface
{
    /**
     * This method should be used to register all hooks and filters. The
     * {@see FeatureManager} will make sure the method is called in the boot
     * process of the plugin.
     */
    public function register(): void;
}

```
