public function __construct(PluginHooksService $hooks, Config $config, Context $context) { $this->config = $config; $this->hooks = $hooks; $this->context = $context; }