| Server IP : 52.25.153.185 / Your IP : 216.73.216.222 Web Server : Apache System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : daemon ( 1) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/metricool/app/Managers/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Metricool\Managers;
use Metricool\Interfaces\ControllerInterface;
final class ControllerManager extends AbstractManager
{
/**
* @inheritDoc
*/
public function isRegistrable(object $class): bool
{
return $class instanceof ControllerInterface;
}
/**
* @inheritDoc
*/
public function registerClass(object $class): void
{
$class->register();
}
/**
* @inheritDoc
*/
public function afterRegister(): void
{
do_action('metricool_controllers_loaded');
}
}