Initial Drupal 11 with DDEV setup

This commit is contained in:
gluebox
2025-10-08 11:39:17 -04:00
commit 89ef74b305
25344 changed files with 2599172 additions and 0 deletions

19
vendor/consolidation/annotated-command/ac.php vendored Executable file
View File

@ -0,0 +1,19 @@
<?php
/**
* A script for ad hoc testing of commands defined in this project.
*/
require 'vendor/autoload.php';
// Only add the Attributes commands since Annotation commands have same name and would conflict.
$myCommandClassInstance = new \Consolidation\TestUtils\ExampleAttributesCommandFile();
$commandFactory = new \Consolidation\AnnotatedCommand\AnnotatedCommandFactory();
$commandFactory->setIncludeAllPublicMethods(true);
$commandFactory->commandProcessor()->setFormatterManager(new \Consolidation\OutputFormatters\FormatterManager());
$commandList = $commandFactory->createCommandsFromClass($myCommandClassInstance);
$application = new \Symfony\Component\Console\Application('ac');
foreach ($commandList as $command) {
$application->add($command);
}
$application->run();