public function __construct(ComponentRegistry $registry, $settings = []) { parent::__construct($registry, $settings); $msg = 'DebugKit is now loaded through plugin bootstrapping. Make sure you have ' . '`Plugin::load("DebugKit", ["bootstrap" => true]);` in your application\'s bootstrap.php.'; throw new \RuntimeException($msg); }