private function useConfigPathFromComposer(PackageInterface $package, $defaultPath) { $extra = $package->getExtra(); if (!isset($extra['grumphp']['config-default-path'])) { return $defaultPath; } $composerDefaultPath = $extra['grumphp']['config-default-path']; return $this->locateConfigFileWithDistSupport($composerDefaultPath); }