platform/api/symfony/Component/AssetMapper/ImportMap/RemotePackageDownloader.yaml
2024-09-02 10:44:11 -07:00

46 lines
1.5 KiB
YAML

name: RemotePackageDownloader
class_comment: '# * @final'
dependencies:
- name: PackageResolverInterface
type: class
source: Symfony\Component\AssetMapper\ImportMap\Resolver\PackageResolverInterface
properties: []
methods:
- name: downloadPackages
visibility: public
parameters:
- name: progressCallback
default: 'null'
comment: "# * @final\n# */\n# class RemotePackageDownloader\n# {\n# private array\
\ $installed;\n# \n# public function __construct(\n# private readonly RemotePackageStorage\
\ $remotePackageStorage,\n# private readonly ImportMapConfigReader $importMapConfigReader,\n\
# private readonly PackageResolverInterface $packageResolver,\n# ) {\n# }\n# \n\
# /**\n# * Downloads all packages.\n# *\n# * @return string[] The downloaded packages"
- name: getDependencies
visibility: public
parameters:
- name: importName
comment: '# * @return string[]'
- name: getVendorDir
visibility: public
parameters: []
comment: null
- name: loadInstalled
visibility: private
parameters: []
comment: '# * @return array<string, array{path: string, version: string, dependencies:
array<string, string>, extraFiles: array<string, string>}>'
- name: saveInstalled
visibility: private
parameters:
- name: installed
comment: null
- name: areAllExtraFilesDownloaded
visibility: private
parameters:
- name: entry
- name: extraFilenames
comment: null
traits:
- Symfony\Component\AssetMapper\ImportMap\Resolver\PackageResolverInterface
interfaces: []