This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console/Test/Command/GenerateCommandTest.php
2018-11-23 12:29:20 +00: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;
}
}