PluginProbe
Metricool – Social media and site statistics / trunk
Metricool – Social media and site statistics vtrunk
2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
metricool / app / Interfaces / FeatureInterface.php

FeatureInterface.php in Metricool – Social media and site statistics trunk, at app/Interfaces/FeatureInterface.php

21 lines 505 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Metricool\Interfaces;
6
7 /**
8 * This interface can be used to register a feature. Features will only
9 * be accepted and registered by {@see FeatureManager} when they implement
10 * this interface.
11 */
12 interface FeatureInterface
13 {
14 /**
15 * This method should be used to register all hooks and filters. The
16 * {@see FeatureManager} will make sure the method is called in the boot
17 * process of the plugin.
18 */
19 public function register(): void;
20 }
21