3 namespace Drupal\Console\Test\DataProvider;
6 * Class ControllerDataProviderTrait
7 * @package Drupal\Console\Test\DataProvider
9 trait ControllerDataProviderTrait
14 public function commandData()
16 $this->setUpTemporaryDirectory();
19 ['title' => 'Foo Controller', 'name' => 'custom.default_controller_hello', 'method' => 'index', 'path' => '/hello/{name}']
23 ['foo', 'FooController', $routes, true, null, 'foo_controller'],
24 ['foo', 'FooController', $routes, false, null, 'foo_controller'],