$this->generator->generate($module, $class_name, $label, $plugin_id, $category, $context, $type);
$this->chainQueue->addCommand('cache:rebuild', ['cache' => 'discovery']);
$this->generator->generate($module, $class_name, $label, $plugin_id, $category, $context, $type);
$this->chainQueue->addCommand('cache:rebuild', ['cache' => 'discovery']);