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 / ControllerInterface.php

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

21 lines 520 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 controller. Controllers will only
9 * be accepted and registered by {@see ControllerManager} when they implement
10 * this interface.
11 */
12 interface ControllerInterface
13 {
14 /**
15 * This method should be used to register all hooks and filters. The
16 * {@see ControllerManager} will make sure the method is called in the boot
17 * process of the plugin.
18 */
19 public function register(): void;
20 }
21