39 lines
2.5 KiB
PHP
39 lines
2.5 KiB
PHP
<?php
|
|
|
|
namespace ContainerVvRT4pd;
|
|
|
|
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
|
|
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
|
|
|
/**
|
|
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
|
|
*/
|
|
class getMaker_AutoCommand_MakeEntityService extends App_KernelDevDebugContainer
|
|
{
|
|
/**
|
|
* Gets the private 'maker.auto_command.make_entity' shared service.
|
|
*
|
|
* @return \Symfony\Bundle\MakerBundle\Command\MakerCommand
|
|
*/
|
|
public static function do($container, $lazyLoad = true)
|
|
{
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/console/Command/Command.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src/Command/MakerCommand.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src/MakerInterface.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src/Maker/AbstractMaker.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src/InputAwareMakerInterface.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src/Maker/MakeEntity.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src/Util/TemplateLinter.php';
|
|
|
|
$a = ($container->privates['maker.file_manager'] ?? $container->load('getMaker_FileManagerService'));
|
|
$b = ($container->privates['maker.generator'] ?? $container->load('getMaker_GeneratorService'));
|
|
|
|
$container->privates['maker.auto_command.make_entity'] = $instance = new \Symfony\Bundle\MakerBundle\Command\MakerCommand(new \Symfony\Bundle\MakerBundle\Maker\MakeEntity($a, ($container->privates['maker.doctrine_helper'] ?? $container->load('getMaker_DoctrineHelperService')), NULL, $b, ($container->privates['maker.entity_class_generator'] ?? $container->load('getMaker_EntityClassGeneratorService')), ($container->privates['maker.php_compat_util'] ?? $container->load('getMaker_PhpCompatUtilService'))), $a, $b, ($container->privates['maker.template_linter'] ?? ($container->privates['maker.template_linter'] = new \Symfony\Bundle\MakerBundle\Util\TemplateLinter($container->getEnv('default::string:MAKER_PHP_CS_FIXER_BINARY_PATH'), $container->getEnv('default::string:MAKER_PHP_CS_FIXER_CONFIG_PATH')))));
|
|
|
|
$instance->setName('make:entity');
|
|
$instance->setDescription('Creates or updates a Doctrine entity class, and optionally an API Platform resource');
|
|
|
|
return $instance;
|
|
}
|
|
}
|