public function MmmfFixCommand::__construct in Module Missing Message Fixer 2.0.x
Same name and namespace in other branches
- 8 src/Commands/MmmfFixCommand.php \Drupal\module_missing_message_fixer\Commands\MmmfFixCommand::__construct()
MmmfFixCommand constructor.
Parameters
\Drupal\module_missing_message_fixer\ModuleMissingMessageFixer $mmmf: The CLI service which allows interoperability.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
Commands/ MmmfFixCommand.php, line 48
Class
- MmmfFixCommand
- Class MmmfFixCommand.
Namespace
Drupal\module_missing_message_fixer\CommandsCode
public function __construct(ModuleMissingMessageFixer $mmmf, Connection $connection, ConfigFactoryInterface $config_factory) {
$this->fixer = $mmmf;
$this->connection = $connection;
$this->configFactory = $config_factory;
}