popsu-d9/old.vendor/drupal/console/Test/Command/GenerateCommandTest.php
2022-04-27 11:30:43 +02:00

20 lines
478 B
PHP

<?php
namespace Drupal\Console\Test\Command;
use Symfony\Component\DependencyInjection\Container;
use Drupal\Console\Test\BaseTestCase;
abstract class GenerateCommandTest extends BaseTestCase
{
/**
* @return \Symfony\Component\DependencyInjection\ContainerInterface Drupal container
*/
protected function getContainer()
{
$container = new Container();
$container->set('twig', new \Twig_Environment());
return $container;
}
}