
| Current Path : /var/www/html/strat/vendor/webflo/drupal-finder/tests/fixtures/default/ |
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/strat/vendor/webflo/drupal-finder/tests/fixtures/default/TestAsComposerScript.php |
<?php
namespace DrupalFinder\Tests\Fixtures\Default;
use Composer\Script\Event;
use DrupalFinder\DrupalFinderComposerRuntime;
class TestAsComposerScript {
public static function dumpDrupalFinder(Event $event) {
$finder = new DrupalFinderComposerRuntime();
$event->getIO()->writeRaw(json_encode([
'getComposerRoot' => $finder->getComposerRoot(),
'getVendorDir' => $finder->getVendorDir(),
'getDrupalRoot' => $finder->getDrupalRoot(),
]));
}
}