1234567891011121314151617 |
- <?php
- namespace Fgm\Drupal\Composer;
- use Composer\Command\BaseCommand;
- abstract class BaseBuilderCommand extends BaseCommand
- {
- protected function getBuilderConfig(): array
- {
- $conf = $this->getComposer()->getPackage()->getExtra()[Builder::NAME] ?? [];
- return $conf;
- }
- }
|