public function ExecutableFinderTraitTest::dataProvider in Tome 8
Data provider for testFindExecutable.
Return value
array A data array.
File
- modules/
tome_base/ tests/ src/ Unit/ ExecutableFinderTraitTest.php, line 39
Class
- ExecutableFinderTraitTest
- @coversDefaultClass \Drupal\tome_base\ExecutableFinderTrait @group tome_base
Namespace
Drupal\Tests\tome_base\UnitCode
public function dataProvider() {
return [
[
'tome:static',
explode(' ', 'php command.php tome:static foo'),
'php command.php',
],
[
'tome:static',
explode(' ', 'php command.php --backend --option tome:static foo'),
'php command.php --option',
],
];
}