default services conflit ?
This commit is contained in:
@@ -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'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user