webroot/var/cache/prod/ContainerEvwr5zZ/getConsole_Command_SecretsGenerateKeyService.php

29 lines
1.2 KiB
PHP

<?php
namespace ContainerEvwr5zZ;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/*
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsGenerateKeyService extends App_KernelProdContainer
{
/*
* Gets the private 'console.command.secrets_generate_key' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsGenerateKeysCommand
*/
public static function do($container, $lazyLoad = true)
{
$container->privates['console.command.secrets_generate_key'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsGenerateKeysCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.prod.local'))));
$instance->setName('secrets:generate-keys');
$instance->setDescription('Generate new encryption keys');
return $instance;
}
}