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