7dcce3c1fab5ac828379597ae6f2bf72f83f942a
[yaffs-website] / vendor / drupal / console / Test / DataProvider / ProfileDataProviderTrait.php
1 <?php
2
3 namespace Drupal\Console\Test\DataProvider;
4
5 /**
6  * Class ProfileDataProviderTrait
7  * @package Drupal\Console\Test\DataProvider
8  */
9 trait ProfileDataProviderTrait
10 {
11     /**
12      * @return array
13      */
14     public function commandData()
15     {
16         $this->setUpTemporaryDirectory();
17
18         return [
19           // Profile name, machine name, description, core version,
20           // dependencies, distribution name.
21           ['Foo', 'foo' . rand(), $this->dir . '/profiles', 'Description', '8.x', null, false],
22           ['Foo', 'foo' . rand(), $this->dir . '/profiles', 'Description', '8.x', null, 'Bar'],
23         ];
24     }
25 }