mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
send message from cli through ovh if configured
This commit is contained in:
@@ -199,6 +199,8 @@ class ChillMainExtension extends Extension implements
|
||||
$loader->load('services/short_message.yaml');
|
||||
|
||||
$this->configureCruds($container, $config['cruds'], $config['apis'], $loader);
|
||||
$container->setParameter('chill_main.short_messages', $config['short_messages']);
|
||||
//$this->configureSms($config['short_messages'], $container, $loader);
|
||||
}
|
||||
|
||||
public function prepend(ContainerBuilder $container)
|
||||
@@ -314,6 +316,13 @@ class ChillMainExtension extends Extension implements
|
||||
// Note: the controller are loaded inside compiler pass
|
||||
}
|
||||
|
||||
protected function configureSms(array $config, ContainerBuilder $container, Loader\YamlFileLoader $loader): void
|
||||
{
|
||||
$dsn = parse_url($config['dsn']);
|
||||
|
||||
dump($dsn);
|
||||
}
|
||||
|
||||
protected function prependCruds(ContainerBuilder $container)
|
||||
{
|
||||
$container->prependExtensionConfig('chill_main', [
|
||||
|
Reference in New Issue
Block a user