Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / src / SiteAlias / SiteAliasFileLoader.php
1 <?php
2 namespace Drush\SiteAlias;
3
4 use Drush\SiteAlias\Util\InternalYamlDataFileLoader;
5
6 /**
7  * Discover alias files:
8  *
9  * - sitename.site.yml: contains multiple aliases, one for each of the
10  *     environments of 'sitename'.
11  */
12 class SiteAliasFileLoader extends \Consolidation\SiteAlias\SiteAliasFileLoader
13 {
14     /**
15      * SiteAliasFileLoader constructor
16      *
17      * @param SiteAliasFileDiscovery|null $discovery
18      */
19     public function __construct($discovery = null)
20     {
21         parent::__construct($discovery);
22         $this->addLoader('yml', new InternalYamlDataFileLoader());
23     }
24 }