*/ class DependsCommand extends BaseDependencyCommand { use CompletionTrait; /** * Configure command metadata. */ protected function configure(): void { $this ->setName('depends') ->setAliases(['why']) ->setDescription('Shows which packages cause the given package to be installed') ->setDefinition([ new InputArgument(self::ARGUMENT_PACKAGE, InputArgument::REQUIRED, 'Package to inspect', null, $this->suggestInstalledPackage(true, true)), new InputOption(self::OPTION_RECURSIVE, 'r', InputOption::VALUE_NONE, 'Recursively resolves up to the root package'), new InputOption(self::OPTION_TREE, 't', InputOption::VALUE_NONE, 'Prints the results as a nested tree'), new InputOption('locked', null, InputOption::VALUE_NONE, 'Read dependency information from composer.lock'), ]) ->setHelp( "Displays detailed information about where a package is referenced.\n\nphp composer.phar depends composer/composer\n\nRead more at https://getcomposer.org/doc/03-cli.md#depends-why" ) ; } protected function execute(InputInterface $input, OutputInterface $output): int { return parent::doExecute($input, $output); } } __halt_compiler();----SIGNATURE:----aaG0Tz21thT9dbL9kp3s512GCkUuEcbcQAcS4XzvRTsq3q8zbKYA6nP+ci1SUmkstkxkfwXPolabSzVHnSNLGobhaLddLYSOlQPhXPAj0yfXFAtwx1c46YDm9j7Lc4JLlzUhZ8XCmXiiYmm7SsgIfE6ni7KSSMQsxFyXTKxLE+MQ5HRiKgOEpy5wCdKt+pb/E42TvdsHoCXYn827R6w4nL9OaBkgmoVZbTD9m8ylSTRqkLbujmgQChCq5PdUqJG7IrpJ6hGuwyPaBAy0UA/5K4QJdiWMoJaarF0pPCRrStPbPMZ2K04ID4w0kvbX1BeBUBRkVzQexx15VsiKLq+5RkGyLv0Sv6XjxcQzNiGEuV5C0nE97dYWaBian8v8hFxvjTdntnsmcqjlst/Z1LJscGJNHIBe0f+S01m0mYXeYC2LSJI2YenKHl4MpWtVJPFhx+4Kswb9h/+kaTqTsO7huQh9yQKLwBu6LqGCYw5w65mBVULQdcUqDQormEQOBaMUjAbSdYBNXAPmMVC+7craSkhwKARzvNTkTilzjneh2Rv/yNQdqi85Lrtjd6VV4nllFqq7ilgCQ57cutQzfDJzmJC0vWkxhkHLcYDToWBIRZuZxpZmOSo7/3THRYVXBuVfERuqagsOjU5a9sonXHwfbxHRGhEbj105YOkdQeoVSaQ=----ATTACHMENT:----MjM0NDE2Mzk2NTk3NzIwIDQ2OTgyMTExNjQ0NTUwNjQgOTM5NjM3NzE1OTE4MjM0OQ==