
| Current Path : /var/www/html/vendor/consolidation/site-alias/tests/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/vendor/consolidation/site-alias/tests/src/FixtureFactory.php |
<?php
namespace Consolidation\SiteAlias;
use \Drush\Config\Environment;
trait FixtureFactory
{
protected function fixturesDir()
{
return dirname(__DIR__) . '/fixtures';
}
protected function homeDir()
{
return $this->fixturesDir() . '/home';
}
// It is still an aspirational goal to add Drupal 7 support back to Drush. :P
// For now, only Drupal 8 is supported.
protected function siteDir($majorVersion = '8')
{
return $this->fixturesDir() . '/sites/d' . $majorVersion;
}
}