default services conflit ?

This commit is contained in:
armansansd
2022-04-27 11:30:43 +02:00
parent 28190a5749
commit 8bb1064a3b
8132 changed files with 900138 additions and 426 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Drupal\Console\Test\DataProvider;
/**
* Class ControllerDataProviderTrait
* @package Drupal\Console\Test\DataProvider
*/
trait ControllerDataProviderTrait
{
/**
* @return array
*/
public function commandData()
{
$this->setUpTemporaryDirectory();
$routes = [
['title' => 'Foo Controller', 'name' => 'custom.default_controller_hello', 'method' => 'index', 'path' => '/hello/{name}']
];
return [
['foo', 'FooController', $routes, true, null, 'foo_controller'],
['foo', 'FooController', $routes, false, null, 'foo_controller'],
];
}
}