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