{"$schema":"https://yii2-framework.github.io/docs/reference/reference.schema.json","schemaVersion":1,"package":"foxy","title":"Foxy","repository":"https://github.com/php-forge/foxy","ref":"main","commit":"f0ee6c89406ec2a750fe7741dced2df31a2a5410","generatedAt":"2026-11-20","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/","types":{"Foxy\\Asset\\AbstractAssetManager":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/abstractassetmanager/","summary":"Runs an external frontend package manager and validates its executable version.","extends":"Foxy\\Asset\\AbstractManifestAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"properties":{"executor":{"type":"Composer\\Util\\ProcessExecutor","description":"Process executor used to invoke the manager.","visibility":"protected","promoted":true},"versionConverter":{"type":"Foxy\\Converter\\VersionConverterInterface|null","default":"null","description":"Converter for manager version output.","visibility":"protected","promoted":true}},"methods":{"__construct":{"signature":"public function __construct(Composer\\IO\\IOInterface $io, Foxy\\Config\\Config $config, Composer\\Util\\ProcessExecutor $executor, Composer\\Util\\Filesystem $fs, Foxy\\Converter\\VersionConverterInterface|null $versionConverter = null)","summary":"Creates a manager that executes frontend commands for the configured asset manifest.","params":[{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Composer output used for progress messages."},{"name":"$config","type":"Foxy\\Config\\Config","description":"Foxy configuration."},{"name":"$executor","type":"Composer\\Util\\ProcessExecutor","description":"Process executor used to invoke the manager."},{"name":"$fs","type":"Composer\\Util\\Filesystem","description":"Filesystem used by manifest handling."},{"name":"$versionConverter","type":"Foxy\\Converter\\VersionConverterInterface|null","default":"null","optional":true,"description":"Converter for manager version output."}]},"audit":{"signature":"public function audit(bool $noDev): Foxy\\Audit\\AuditProcessResult","summary":"Runs the manager audit command against the current lock file.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"Foxy\\Audit\\AuditProcessResult"}},"buildCommand":{"signature":"protected function buildCommand(string $action, array|string $command): string","summary":"Returns the manager command run by the configured or default binary, followed by the `manager-options` and `manager-{action}-options` values.","params":[{"name":"$action","type":"string","description":"The action whose `manager-{action}-options` value is appended."},{"name":"$command","type":"array|string","description":"The command arguments, joined with spaces."}],"return":{"type":"string"},"visibility":"protected"},"buildUnconfiguredCommand":{"signature":"protected function buildUnconfiguredCommand(array|string $command): string","summary":"Returns the manager command run by the configured or default binary, without the install and update options.","params":[{"name":"$command","type":"array|string","description":"The command arguments, joined with spaces."}],"return":{"type":"string"},"visibility":"protected"},"getAuditCommand":{"signature":"abstract protected function getAuditCommand(bool $noDev): string","summary":"Get the command to audit the asset dependencies.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"string"},"visibility":"protected","abstract":true},"getAuditEnvironment":{"signature":"protected function getAuditEnvironment(): array<string, string>","summary":"Get environment overrides required for a complete audit.","return":{"type":"array<string, string>"},"visibility":"protected"},"getDefaultBinary":{"signature":"protected function getDefaultBinary(): string","summary":"Returns the executable used when `manager-bin` is not configured; defaults to the manager name.","return":{"type":"string"},"visibility":"protected"},"getInstallCommand":{"signature":"protected function getInstallCommand(): string","summary":"Returns the command that installs the asset dependencies, followed by the `manager-options` and `manager-install-options` values.","return":{"type":"string"},"visibility":"protected"},"getUpdateCommand":{"signature":"protected function getUpdateCommand(): string","summary":"Returns the command that updates the asset dependencies, followed by the `manager-options` and `manager-update-options` values.","return":{"type":"string"},"visibility":"protected"},"getVersion":{"signature":"protected function getVersion(): string|null","summary":"Returns the normalized manager version, or `null` when it cannot be detected.","return":{"type":"string|null"},"visibility":"protected"},"getVersionCommand":{"signature":"protected function getVersionCommand(): string","summary":"Returns the command that prints the manager version, without the install and update options.","return":{"type":"string"},"visibility":"protected"},"isAvailable":{"signature":"public function isAvailable(): bool","summary":"Returns whether the manager executable reports a detectable version.","return":{"type":"bool"}},"normalizeVersionOutput":{"signature":"protected function normalizeVersionOutput(string $output): string","summary":"Normalizes the trimmed output of the version command before it is converted.","params":[{"name":"$output","type":"string"}],"return":{"type":"string"},"visibility":"protected"},"run":{"signature":"public function run(): int","summary":"Installs or updates frontend dependencies according to the manager state and configuration.","return":{"type":"int"}},"validate":{"signature":"public function validate(): void","summary":"Validates the installed manager version against Foxy's supported and configured constraints.","return":{"type":"void"}},"validateAuditConfiguration":{"signature":"protected function validateAuditConfiguration(bool $noDev): void","summary":"Validate manager configuration that can change the audit scope.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"void"},"visibility":"protected"},"withManagerTimeout":{"signature":"final protected function withManagerTimeout(callable(): Foxy\\Asset\\T $callback): Foxy\\Asset\\T","summary":"Runs the callback with the process timeout set to the `manager-timeout` option and restores the previous timeout afterward, even when the callback throws.","params":[{"name":"$callback","type":"callable(): Foxy\\Asset\\T","description":"The operation to run under the manager timeout."}],"return":{"type":"Foxy\\Asset\\T","description":"The callback result."},"visibility":"protected"}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager"},"methods":{"actionWhenComposerDependenciesAreAlreadyInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","actionWhenComposerDependenciesAreMerged":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","getAuditParser":"Foxy\\Asset\\AssetManagerInterface","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getLockPackageName":"Foxy\\Asset\\AssetManagerInterface","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getName":"Foxy\\Asset\\AssetManagerInterface","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","getVersionConstraint":"Foxy\\Asset\\AssetManagerInterface","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Asset\\AbstractManifestAssetManager":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/abstractmanifestassetmanager/","summary":"Provides the asset manifest handling shared by every asset manager: dependency merging, root package paths, and lock file detection.","implements":["Foxy\\Asset\\AssetManagerInterface"],"properties":{"config":{"type":"Foxy\\Config\\Config","description":"Foxy configuration.","visibility":"protected","promoted":true},"fs":{"type":"Composer\\Util\\Filesystem","description":"Filesystem used to resolve and update manifest paths.","visibility":"protected","promoted":true},"io":{"type":"Composer\\IO\\IOInterface","description":"Composer output used for progress messages.","visibility":"protected","promoted":true},"updatable":{"type":"bool","default":"true","description":"Whether an existing frontend installation may be updated.","visibility":"protected"}},"methods":{"__construct":{"signature":"public function __construct(Composer\\IO\\IOInterface $io, Foxy\\Config\\Config $config, Composer\\Util\\Filesystem $fs)","summary":"Creates a manager with the services shared by asset manifest operations.","params":[{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Composer output used for progress messages."},{"name":"$config","type":"Foxy\\Config\\Config","description":"Foxy configuration."},{"name":"$fs","type":"Composer\\Util\\Filesystem","description":"Filesystem used to resolve and update manifest paths."}]},"actionWhenComposerDependenciesAreAlreadyInstalled":{"signature":"protected function actionWhenComposerDependenciesAreAlreadyInstalled(list<string> $names): void","summary":"Handles dependencies already present in the frontend installation.","params":[{"name":"$names","type":"list<string>","description":"The asset package name of composer dependencies."}],"return":{"type":"void"},"visibility":"protected"},"actionWhenComposerDependenciesAreMerged":{"signature":"protected function actionWhenComposerDependenciesAreMerged(Foxy\\Asset\\AssetPackageInterface $assetPackage, array<string, mixed> $previousDependencies): void","summary":"Runs after the Composer asset dependencies are merged and before the asset package is written.","params":[{"name":"$assetPackage","type":"Foxy\\Asset\\AssetPackageInterface","description":"The asset package with the merged Composer dependencies."},{"name":"$previousDependencies","type":"array<string, mixed>","description":"The Composer asset dependencies declared before the merge."}],"return":{"type":"void"},"visibility":"protected"},"addDependencies":{"signature":"public function addDependencies(Composer\\Package\\RootPackageInterface $rootPackage, array $dependencies): Foxy\\Asset\\AssetPackageInterface","summary":"Merges Composer asset dependencies into the frontend package manifest.","params":[{"name":"$rootPackage","type":"Composer\\Package\\RootPackageInterface"},{"name":"$dependencies","type":"array"}],"return":{"type":"Foxy\\Asset\\AssetPackageInterface"},"throws":[{"type":"Exception|Seld\\JsonLint\\ParsingException"}]},"getLockFilePath":{"signature":"protected function getLockFilePath(): string","summary":"Returns the manager lock-file path under the root package directory.","return":{"type":"string"},"visibility":"protected"},"getManagerConfig":{"signature":"protected function getManagerConfig(): Foxy\\Config\\Config","summary":"Returns the configuration scoped to this manager, so `manager-*` map entries resolve to its own value.","return":{"type":"Foxy\\Config\\Config"},"visibility":"protected"},"getManagerWorkingDirectory":{"signature":"protected function getManagerWorkingDirectory(): string|null","summary":"Returns the configured manager working directory, or `null` to use the process default.","return":{"type":"string|null"},"visibility":"protected"},"getNodeModulesPath":{"signature":"protected function getNodeModulesPath(): string","summary":"Returns the `node_modules` path under the root package directory.","return":{"type":"string"},"visibility":"protected"},"getPackageJsonPath":{"signature":"public function getPackageJsonPath(): string","summary":"Returns the frontend package manifest path.","return":{"type":"string"}},"getPackageName":{"signature":"public function getPackageName(): string","summary":"Returns the frontend package manifest filename.","return":{"type":"string"}},"getRootPackageDir":{"signature":"protected function getRootPackageDir(): string","summary":"Returns the resolved root package directory.","return":{"type":"string"},"visibility":"protected"},"getRootPackagePath":{"signature":"protected function getRootPackagePath(string $path): string","summary":"Resolves a path under the root package directory.","params":[{"name":"$path","type":"string"}],"return":{"type":"string"},"visibility":"protected"},"hasLockFile":{"signature":"public function hasLockFile(): bool","summary":"Returns whether the manager lock file exists.","return":{"type":"bool"}},"isInstalled":{"signature":"public function isInstalled(): bool","summary":"Returns whether both the dependency directory and package manifest exist.","return":{"type":"bool"}},"isUpdatable":{"signature":"public function isUpdatable(): bool","summary":"Returns whether an existing frontend installation may be updated.","return":{"type":"bool"}},"setUpdatable":{"signature":"public function setUpdatable(bool $updatable): static","summary":"Enables or disables updates of an existing frontend installation.","params":[{"name":"$updatable","type":"bool"}],"return":{"type":"static"}}},"constants":{"NODE_MODULES_PATH":{"value":"'./node_modules'"}},"inherited":{"methods":{"audit":"Foxy\\Asset\\AssetManagerInterface","getAuditParser":"Foxy\\Asset\\AssetManagerInterface","getLockPackageName":"Foxy\\Asset\\AssetManagerInterface","getName":"Foxy\\Asset\\AssetManagerInterface","getVersionConstraint":"Foxy\\Asset\\AssetManagerInterface","isAvailable":"Foxy\\Asset\\AssetManagerInterface","run":"Foxy\\Asset\\AssetManagerInterface","validate":"Foxy\\Asset\\AssetManagerInterface"}}},"Foxy\\Asset\\AssetManagerFinder":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/assetmanagerfinder/","summary":"Selects a configured asset manager by name, lock file, or executable availability.","methods":{"__construct":{"signature":"public function __construct(Foxy\\Asset\\AssetManagerInterface[] $managers = [])","summary":"Registers the asset managers available for selection.","params":[{"name":"$managers","type":"Foxy\\Asset\\AssetManagerInterface[]","default":"[]","optional":true,"description":"The asset managers"}]},"addManager":{"signature":"public function addManager(Foxy\\Asset\\AssetManagerInterface $manager): void","summary":"Registers an asset manager by its unique name.","params":[{"name":"$manager","type":"Foxy\\Asset\\AssetManagerInterface"}],"return":{"type":"void"}},"findManager":{"signature":"public function findManager(string|null $manager = null, bool $checkAvailability = true): Foxy\\Asset\\AssetManagerInterface","summary":"Find the asset manager.","params":[{"name":"$manager","type":"string|null","default":"null","optional":true,"description":"The name of the asset manager"},{"name":"$checkAvailability","type":"bool","default":"true","optional":true,"description":"Whether to check automatically selected manager availability"}],"return":{"type":"Foxy\\Asset\\AssetManagerInterface"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"When the asset manager does not exist"},{"type":"Foxy\\Exception\\RuntimeException","description":"When the asset manager is not found"}]}}},"Foxy\\Asset\\AssetManagerInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/assetmanagerinterface/","summary":"Defines frontend dependency manager operations used by the Foxy solver.","methods":{"addDependencies":{"signature":"abstract public function addDependencies(Composer\\Package\\RootPackageInterface $rootPackage, array $dependencies): Foxy\\Asset\\AssetPackageInterface","summary":"Add the asset dependencies in asset package file.","params":[{"name":"$rootPackage","type":"Composer\\Package\\RootPackageInterface","description":"The composer root package"},{"name":"$dependencies","type":"array","description":"The asset local dependencies"}],"return":{"type":"Foxy\\Asset\\AssetPackageInterface"},"abstract":true},"audit":{"signature":"abstract public function audit(bool $noDev): Foxy\\Audit\\AuditProcessResult","summary":"Runs the security audit of the locked dependencies.","params":[{"name":"$noDev","type":"bool","description":"Whether to exclude development dependencies; managers that cannot exclude them throw."}],"return":{"type":"Foxy\\Audit\\AuditProcessResult"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the lock file is missing, the manager cannot honor `$noDev`, or the audit cannot run."}],"abstract":true},"getAuditParser":{"signature":"abstract public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser of this manager's audit report.","return":{"type":"Foxy\\Audit\\AuditParserInterface"},"abstract":true},"getLockPackageName":{"signature":"abstract public function getLockPackageName(): string","summary":"Get the filename of the lock file.","return":{"type":"string"},"abstract":true},"getName":{"signature":"abstract public function getName(): string","summary":"Get the name of asset manager.","return":{"type":"string"},"abstract":true},"getPackageName":{"signature":"abstract public function getPackageName(): string","summary":"Get the filename of the asset package.","return":{"type":"string"},"abstract":true},"getVersionConstraint":{"signature":"abstract public function getVersionConstraint(): string","summary":"Get the supported version constraint of the asset manager.","return":{"type":"string"},"abstract":true},"hasLockFile":{"signature":"abstract public function hasLockFile(): bool","summary":"Check if the lock file is present or not.","return":{"type":"bool"},"abstract":true},"isAvailable":{"signature":"abstract public function isAvailable(): bool","summary":"Check if the asset manager is available.","return":{"type":"bool"},"abstract":true},"isInstalled":{"signature":"abstract public function isInstalled(): bool","summary":"Check if the asset dependencies are installed or not.","return":{"type":"bool"},"abstract":true},"isUpdatable":{"signature":"abstract public function isUpdatable(): bool","summary":"Check if the asset manager can be use the update command or not.","return":{"type":"bool"},"abstract":true},"run":{"signature":"abstract public function run(): int","summary":"Run the asset manager to install/update the asset dependencies.","return":{"type":"int"},"abstract":true},"setUpdatable":{"signature":"abstract public function setUpdatable(bool $updatable): self","summary":"Define if the asset manager can be use the update command.","params":[{"name":"$updatable","type":"bool","description":"The value"}],"return":{"type":"self"},"abstract":true},"validate":{"signature":"abstract public function validate(): void","summary":"Validate the version of asset manager.","return":{"type":"void"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"When the binary isn't installed"},{"type":"Foxy\\Exception\\RuntimeException","description":"When the version doesn't match"}],"abstract":true}}},"Foxy\\Asset\\AssetPackage":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/assetpackage/","summary":"Maintains Composer-provided dependencies in a frontend package manifest.","implements":["Foxy\\Asset\\AssetPackageInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\Package\\RootPackageInterface $rootPackage, Composer\\Json\\JsonFile $jsonFile, Composer\\Util\\Filesystem|null $fs = null)","summary":"Loads the frontend package manifest and injects metadata inherited from the Composer root package.","params":[{"name":"$rootPackage","type":"Composer\\Package\\RootPackageInterface","description":"The composer root package"},{"name":"$jsonFile","type":"Composer\\Json\\JsonFile","description":"The JSON file"},{"name":"$fs","type":"Composer\\Util\\Filesystem|null","default":"null","optional":true}],"throws":[{"type":"Seld\\JsonLint\\ParsingException"}]},"addNewDependencies":{"signature":"public function addNewDependencies(array $dependencies): list<string>","summary":"Adds Composer asset dependencies and returns the names that were already installed.","params":[{"name":"$dependencies","type":"array","description":"The dependencies"}],"return":{"type":"list<string>","description":"The existing packages."}},"getInstalledDependencies":{"signature":"public function getInstalledDependencies(): array","summary":"Returns Composer-managed dependencies currently declared in the package manifest.","return":{"type":"array"}},"getPackage":{"signature":"public function getPackage(): array","summary":"Returns the complete frontend package manifest.","return":{"type":"array"}},"removeUnusedDependencies":{"signature":"public function removeUnusedDependencies(array $dependencies): self","summary":"Removes Composer-managed dependencies absent from the current dependency set.","params":[{"name":"$dependencies","type":"array"}],"return":{"type":"self"}},"setPackage":{"signature":"public function setPackage(array $package): self","summary":"Replaces the in-memory frontend package manifest.","params":[{"name":"$package","type":"array"}],"return":{"type":"self"}},"write":{"signature":"public function write(): self","summary":"Writes the in-memory package manifest to its JSON file.","return":{"type":"self"},"throws":[{"type":"Exception"}]}},"constants":{"COMPOSER_PREFIX":{"value":"'@composer-asset/'"},"SECTION_DEPENDENCIES":{"value":"'dependencies'"},"SECTION_DEV_DEPENDENCIES":{"value":"'devDependencies'"}}},"Foxy\\Asset\\AssetPackageInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/assetpackageinterface/","summary":"Defines mutable access to a frontend package manifest and its Composer-managed dependencies.","methods":{"addNewDependencies":{"signature":"abstract public function addNewDependencies(array $dependencies): array","summary":"Add the new asset dependencies and return the names of already installed asset dependencies.","params":[{"name":"$dependencies","type":"array","description":"The asset dependencies"}],"return":{"type":"array","description":"The asset package name of the already asset dependencies"},"abstract":true},"getInstalledDependencies":{"signature":"abstract public function getInstalledDependencies(): array","summary":"Get the installed asset dependencies.","return":{"type":"array","description":"The installed asset dependencies"},"abstract":true},"getPackage":{"signature":"abstract public function getPackage(): array","summary":"Get the asset package.","return":{"type":"array"},"abstract":true},"removeUnusedDependencies":{"signature":"abstract public function removeUnusedDependencies(array $dependencies): self","summary":"Remove the unused asset dependencies.","params":[{"name":"$dependencies","type":"array","description":"All asset dependencies"}],"return":{"type":"self"},"abstract":true},"setPackage":{"signature":"abstract public function setPackage(array $package): self","summary":"Set the asset package.","params":[{"name":"$package","type":"array","description":"The asset package"}],"return":{"type":"self"},"abstract":true},"write":{"signature":"abstract public function write(): self","summary":"Write the asset package in file.","return":{"type":"self"},"abstract":true}}},"Foxy\\Asset\\BunManager":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/bunmanager/","summary":"Integrates the Bun package manager with Foxy's install, update, and audit workflows.","extends":"Foxy\\Asset\\AbstractAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"methods":{"getAuditCommand":{"signature":"protected function getAuditCommand(bool $noDev): string","summary":"Returns the Bun audit command for all or production dependencies.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"string"},"visibility":"protected"},"getAuditParser":{"signature":"public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser for Bun audit JSON output.","return":{"type":"Foxy\\Audit\\AuditParserInterface"}},"getDefaultBinary":{"signature":"protected function getDefaultBinary(): string","summary":"Returns the platform-specific Bun binary name.","return":{"type":"string"},"visibility":"protected"},"getLockPackageName":{"signature":"public function getLockPackageName(): string","summary":"Returns Bun's text lock-file name.","return":{"type":"string"}},"getName":{"signature":"public function getName(): string","summary":"Returns the manager name used in Foxy configuration.","return":{"type":"string"}},"getVersionConstraint":{"signature":"public function getVersionConstraint(): string","summary":"Returns the Bun versions supported by this integration.","return":{"type":"string"}},"isInstalled":{"signature":"public function isInstalled(): bool","summary":"Returns whether the package manifest, dependency directory, and Bun lock file exist.","return":{"type":"bool"}},"validateAuditConfiguration":{"signature":"protected function validateAuditConfiguration(bool $noDev): void","summary":"Rejects Bun and npm configuration that would narrow or ignore audit results.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"void"},"visibility":"protected"}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","executor":"Foxy\\Asset\\AbstractAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager","versionConverter":"Foxy\\Asset\\AbstractAssetManager"},"methods":{"__construct":"Foxy\\Asset\\AbstractAssetManager","actionWhenComposerDependenciesAreAlreadyInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","actionWhenComposerDependenciesAreMerged":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","audit":"Foxy\\Asset\\AbstractAssetManager","buildCommand":"Foxy\\Asset\\AbstractAssetManager","buildUnconfiguredCommand":"Foxy\\Asset\\AbstractAssetManager","getAuditEnvironment":"Foxy\\Asset\\AbstractAssetManager","getInstallCommand":"Foxy\\Asset\\AbstractAssetManager","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","getUpdateCommand":"Foxy\\Asset\\AbstractAssetManager","getVersion":"Foxy\\Asset\\AbstractAssetManager","getVersionCommand":"Foxy\\Asset\\AbstractAssetManager","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isAvailable":"Foxy\\Asset\\AbstractAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","normalizeVersionOutput":"Foxy\\Asset\\AbstractAssetManager","run":"Foxy\\Asset\\AbstractAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","validate":"Foxy\\Asset\\AbstractAssetManager","withManagerTimeout":"Foxy\\Asset\\AbstractAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Asset\\DenoManager":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/denomanager/","summary":"Integrates Deno with Foxy's dependency workspace, update, and audit workflows.","extends":"Foxy\\Asset\\AbstractAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"methods":{"actionWhenComposerDependenciesAreMerged":{"signature":"protected function actionWhenComposerDependenciesAreMerged(Foxy\\Asset\\AssetPackageInterface $assetPackage, array $previousDependencies): void","summary":"Synchronizes Deno workspace members with the merged Composer asset dependencies.","params":[{"name":"$assetPackage","type":"Foxy\\Asset\\AssetPackageInterface"},{"name":"$previousDependencies","type":"array"}],"return":{"type":"void"},"visibility":"protected"},"getAuditCommand":{"signature":"protected function getAuditCommand(bool $noDev): string","summary":"Returns the Deno audit command for the complete workspace.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"string"},"visibility":"protected"},"getAuditEnvironment":{"signature":"protected function getAuditEnvironment(): array","summary":"Returns environment overrides that disable color in Deno audit output.","return":{"type":"array"},"visibility":"protected"},"getAuditParser":{"signature":"public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser for the human-readable text report produced by `deno audit`.","return":{"type":"Foxy\\Audit\\AuditParserInterface"}},"getDefaultBinary":{"signature":"protected function getDefaultBinary(): string","summary":"Returns the platform-specific Deno binary name.","return":{"type":"string"},"visibility":"protected"},"getLockPackageName":{"signature":"public function getLockPackageName(): string","summary":"Returns Deno's lock-file name.","return":{"type":"string"}},"getName":{"signature":"public function getName(): string","summary":"Returns the manager name used in Foxy configuration.","return":{"type":"string"}},"getUpdateCommand":{"signature":"protected function getUpdateCommand(): string","summary":"Returns the command that refreshes the lock file and then installs dependencies.","return":{"type":"string"},"visibility":"protected"},"getVersionConstraint":{"signature":"public function getVersionConstraint(): string","summary":"Returns the Deno versions supported by this integration.","return":{"type":"string"}},"isInstalled":{"signature":"public function isInstalled(): bool","summary":"Returns whether the package manifest, dependency directory, and Deno lock file exist.","return":{"type":"bool"}},"normalizeVersionOutput":{"signature":"protected function normalizeVersionOutput(string $output): string","summary":"Extracts the version number from Deno's version output.","params":[{"name":"$output","type":"string"}],"return":{"type":"string"},"visibility":"protected"},"validateAuditConfiguration":{"signature":"protected function validateAuditConfiguration(bool $noDev): void","summary":"Rejects production-only audits because Deno cannot exclude development dependencies.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"void"},"visibility":"protected"}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","executor":"Foxy\\Asset\\AbstractAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager","versionConverter":"Foxy\\Asset\\AbstractAssetManager"},"methods":{"__construct":"Foxy\\Asset\\AbstractAssetManager","actionWhenComposerDependenciesAreAlreadyInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","audit":"Foxy\\Asset\\AbstractAssetManager","buildCommand":"Foxy\\Asset\\AbstractAssetManager","buildUnconfiguredCommand":"Foxy\\Asset\\AbstractAssetManager","getInstallCommand":"Foxy\\Asset\\AbstractAssetManager","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","getVersion":"Foxy\\Asset\\AbstractAssetManager","getVersionCommand":"Foxy\\Asset\\AbstractAssetManager","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isAvailable":"Foxy\\Asset\\AbstractAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","run":"Foxy\\Asset\\AbstractAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","validate":"Foxy\\Asset\\AbstractAssetManager","withManagerTimeout":"Foxy\\Asset\\AbstractAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Asset\\NativeManager":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/nativemanager/","summary":"Provides the `native` asset manager: installs `package.json` dependencies from the npm registry in PHP, recording them in `foxy.lock`, without a Node.js package manager.","extends":"Foxy\\Asset\\AbstractManifestAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\IO\\IOInterface $io, Foxy\\Config\\Config $config, Composer\\Util\\Filesystem $fs, Foxy\\Native\\NativeInstallerInterface $installer, Foxy\\Native\\NpmRegistryInterface $registry)","summary":"Creates the native manager with its installer and npm registry client.","params":[{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Output for the progress line."},{"name":"$config","type":"Foxy\\Config\\Config","description":"Foxy configuration."},{"name":"$fs","type":"Composer\\Util\\Filesystem","description":"Filesystem used by the manifest handling."},{"name":"$installer","type":"Foxy\\Native\\NativeInstallerInterface","description":"Installer that populates the install directory."},{"name":"$registry","type":"Foxy\\Native\\NpmRegistryInterface","description":"Registry that answers the security audit."}]},"audit":{"signature":"public function audit(bool $noDev): Foxy\\Audit\\AuditProcessResult","summary":"Runs the security audit of the locked registry packages with one request to the registry's bulk advisories endpoint.","params":[{"name":"$noDev","type":"bool","description":"Whether to exclude development dependencies, which the native manager cannot do."}],"return":{"type":"Foxy\\Audit\\AuditProcessResult"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if `foxy.lock` is missing or malformed, `$noDev` is `true`, the registry request fails, or the advisories document is malformed."}]},"getAuditParser":{"signature":"public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser for npm bulk-advisory documents.","return":{"type":"Foxy\\Audit\\AuditParserInterface"}},"getLockPackageName":{"signature":"public function getLockPackageName(): string","summary":"Returns the native manager lock-file name.","return":{"type":"string"}},"getName":{"signature":"public function getName(): string","summary":"Returns the manager name used in Foxy configuration.","return":{"type":"string"}},"getVersionConstraint":{"signature":"public function getVersionConstraint(): string","summary":"Returns the unrestricted version constraint because this manager runs in PHP.","return":{"type":"string"}},"isAvailable":{"signature":"public function isAvailable(): bool","summary":"Returns whether `foxy.lock` exists; the native manager needs no executable.","return":{"type":"bool"}},"isInstalled":{"signature":"public function isInstalled(): bool","summary":"Returns whether the install directory and `package.json` exist.","return":{"type":"bool"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the configured install directory is the root package directory, one of its parents, or a filesystem root, or if a symbolic link in it or in the root package directory cannot be resolved."}]},"run":{"signature":"public function run(): int","summary":"Installs the dependencies, or updates them when updates are allowed by `setUpdatable()`, as `composer update` does, even if nothing is installed yet.","return":{"type":"int"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the `zlib` extension is missing, the configured root package directory does not exist, the install directory is invalid, or the installation fails."}]},"validate":{"signature":"public function validate(): void","summary":"Checks that the `zlib` extension, which reads the gzip-compressed tarballs, is loaded.","return":{"type":"void"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the `zlib` extension is missing."}]}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager"},"methods":{"actionWhenComposerDependenciesAreAlreadyInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","actionWhenComposerDependenciesAreMerged":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Asset\\NpmManager":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/npmmanager/","summary":"Integrates npm with Foxy's install, update, workspace, and audit workflows.","extends":"Foxy\\Asset\\AbstractAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"methods":{"actionWhenComposerDependenciesAreAlreadyInstalled":{"signature":"protected function actionWhenComposerDependenciesAreAlreadyInstalled(array $names): void","summary":"Removes already-installed Composer assets so npm installs their updated manifest paths.","params":[{"name":"$names","type":"array"}],"return":{"type":"void"},"visibility":"protected"},"getAuditCommand":{"signature":"protected function getAuditCommand(bool $noDev): string","summary":"Returns an npm audit command that covers the root package and every locked workspace.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"string"},"visibility":"protected"},"getAuditParser":{"signature":"public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser for npm audit JSON output.","return":{"type":"Foxy\\Audit\\AuditParserInterface"}},"getLockPackageName":{"signature":"public function getLockPackageName(): string","summary":"Returns npm's lock-file name.","return":{"type":"string"}},"getName":{"signature":"public function getName(): string","summary":"Returns the manager name used in Foxy configuration.","return":{"type":"string"}},"getVersionConstraint":{"signature":"public function getVersionConstraint(): string","summary":"Returns the npm versions supported by this integration.","return":{"type":"string"}}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","executor":"Foxy\\Asset\\AbstractAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager","versionConverter":"Foxy\\Asset\\AbstractAssetManager"},"methods":{"__construct":"Foxy\\Asset\\AbstractAssetManager","actionWhenComposerDependenciesAreMerged":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","audit":"Foxy\\Asset\\AbstractAssetManager","buildCommand":"Foxy\\Asset\\AbstractAssetManager","buildUnconfiguredCommand":"Foxy\\Asset\\AbstractAssetManager","getAuditEnvironment":"Foxy\\Asset\\AbstractAssetManager","getDefaultBinary":"Foxy\\Asset\\AbstractAssetManager","getInstallCommand":"Foxy\\Asset\\AbstractAssetManager","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","getUpdateCommand":"Foxy\\Asset\\AbstractAssetManager","getVersion":"Foxy\\Asset\\AbstractAssetManager","getVersionCommand":"Foxy\\Asset\\AbstractAssetManager","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isAvailable":"Foxy\\Asset\\AbstractAssetManager","isInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","normalizeVersionOutput":"Foxy\\Asset\\AbstractAssetManager","run":"Foxy\\Asset\\AbstractAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","validate":"Foxy\\Asset\\AbstractAssetManager","validateAuditConfiguration":"Foxy\\Asset\\AbstractAssetManager","withManagerTimeout":"Foxy\\Asset\\AbstractAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Asset\\PnpmManager":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/pnpmmanager/","summary":"Integrates pnpm with Foxy's install, update, and audit workflows.","extends":"Foxy\\Asset\\AbstractAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"methods":{"getAuditCommand":{"signature":"protected function getAuditCommand(bool $noDev): string","summary":"Returns the pnpm audit command for all or production dependencies.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"string"},"visibility":"protected"},"getAuditParser":{"signature":"public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser for pnpm audit JSON output.","return":{"type":"Foxy\\Audit\\AuditParserInterface"}},"getLockPackageName":{"signature":"public function getLockPackageName(): string","summary":"Returns pnpm's lock-file name.","return":{"type":"string"}},"getName":{"signature":"public function getName(): string","summary":"Returns the manager name used in Foxy configuration.","return":{"type":"string"}},"getVersionConstraint":{"signature":"public function getVersionConstraint(): string","summary":"Returns the pnpm versions supported by this integration.","return":{"type":"string"}},"isInstalled":{"signature":"public function isInstalled(): bool","summary":"Returns whether the package manifest, dependency directory, and pnpm lock file exist.","return":{"type":"bool"}}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","executor":"Foxy\\Asset\\AbstractAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager","versionConverter":"Foxy\\Asset\\AbstractAssetManager"},"methods":{"__construct":"Foxy\\Asset\\AbstractAssetManager","actionWhenComposerDependenciesAreAlreadyInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","actionWhenComposerDependenciesAreMerged":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","audit":"Foxy\\Asset\\AbstractAssetManager","buildCommand":"Foxy\\Asset\\AbstractAssetManager","buildUnconfiguredCommand":"Foxy\\Asset\\AbstractAssetManager","getAuditEnvironment":"Foxy\\Asset\\AbstractAssetManager","getDefaultBinary":"Foxy\\Asset\\AbstractAssetManager","getInstallCommand":"Foxy\\Asset\\AbstractAssetManager","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","getUpdateCommand":"Foxy\\Asset\\AbstractAssetManager","getVersion":"Foxy\\Asset\\AbstractAssetManager","getVersionCommand":"Foxy\\Asset\\AbstractAssetManager","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isAvailable":"Foxy\\Asset\\AbstractAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","normalizeVersionOutput":"Foxy\\Asset\\AbstractAssetManager","run":"Foxy\\Asset\\AbstractAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","validate":"Foxy\\Asset\\AbstractAssetManager","validateAuditConfiguration":"Foxy\\Asset\\AbstractAssetManager","withManagerTimeout":"Foxy\\Asset\\AbstractAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Asset\\YarnManager":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/asset/yarnmanager/","summary":"Integrates Yarn with Foxy's install, update, Plug'n'Play, and audit workflows.","extends":"Foxy\\Asset\\AbstractAssetManager","implements":["Foxy\\Asset\\AssetManagerInterface"],"methods":{"getAuditCommand":{"signature":"protected function getAuditCommand(bool $noDev): string","summary":"Returns the Yarn recursive audit command for all or production dependencies.","params":[{"name":"$noDev","type":"bool"}],"return":{"type":"string"},"visibility":"protected"},"getAuditEnvironment":{"signature":"protected function getAuditEnvironment(): array","summary":"Returns environment overrides that prevent exclusions from Yarn audit results.","return":{"type":"array"},"visibility":"protected"},"getAuditParser":{"signature":"public function getAuditParser(): Foxy\\Audit\\AuditParserInterface","summary":"Returns the parser for Yarn audit JSON output.","return":{"type":"Foxy\\Audit\\AuditParserInterface"}},"getLockPackageName":{"signature":"public function getLockPackageName(): string","summary":"Returns Yarn's lock-file name.","return":{"type":"string"}},"getName":{"signature":"public function getName(): string","summary":"Returns the manager name used in Foxy configuration.","return":{"type":"string"}},"getUpdateCommand":{"signature":"protected function getUpdateCommand(): string","summary":"Returns Yarn's dependency update command.","return":{"type":"string"},"visibility":"protected"},"getVersionConstraint":{"signature":"public function getVersionConstraint(): string","summary":"Returns the Yarn versions supported by this integration.","return":{"type":"string"}},"isInstalled":{"signature":"public function isInstalled(): bool","summary":"Returns whether the manifest and lock file exist with either `node_modules` or Plug'n'Play output.","return":{"type":"bool"}}},"inherited":{"properties":{"config":"Foxy\\Asset\\AbstractManifestAssetManager","executor":"Foxy\\Asset\\AbstractAssetManager","fs":"Foxy\\Asset\\AbstractManifestAssetManager","io":"Foxy\\Asset\\AbstractManifestAssetManager","updatable":"Foxy\\Asset\\AbstractManifestAssetManager","versionConverter":"Foxy\\Asset\\AbstractAssetManager"},"methods":{"__construct":"Foxy\\Asset\\AbstractAssetManager","actionWhenComposerDependenciesAreAlreadyInstalled":"Foxy\\Asset\\AbstractManifestAssetManager","actionWhenComposerDependenciesAreMerged":"Foxy\\Asset\\AbstractManifestAssetManager","addDependencies":"Foxy\\Asset\\AbstractManifestAssetManager","audit":"Foxy\\Asset\\AbstractAssetManager","buildCommand":"Foxy\\Asset\\AbstractAssetManager","buildUnconfiguredCommand":"Foxy\\Asset\\AbstractAssetManager","getDefaultBinary":"Foxy\\Asset\\AbstractAssetManager","getInstallCommand":"Foxy\\Asset\\AbstractAssetManager","getLockFilePath":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerConfig":"Foxy\\Asset\\AbstractManifestAssetManager","getManagerWorkingDirectory":"Foxy\\Asset\\AbstractManifestAssetManager","getNodeModulesPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageJsonPath":"Foxy\\Asset\\AbstractManifestAssetManager","getPackageName":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackageDir":"Foxy\\Asset\\AbstractManifestAssetManager","getRootPackagePath":"Foxy\\Asset\\AbstractManifestAssetManager","getVersion":"Foxy\\Asset\\AbstractAssetManager","getVersionCommand":"Foxy\\Asset\\AbstractAssetManager","hasLockFile":"Foxy\\Asset\\AbstractManifestAssetManager","isAvailable":"Foxy\\Asset\\AbstractAssetManager","isUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","normalizeVersionOutput":"Foxy\\Asset\\AbstractAssetManager","run":"Foxy\\Asset\\AbstractAssetManager","setUpdatable":"Foxy\\Asset\\AbstractManifestAssetManager","validate":"Foxy\\Asset\\AbstractAssetManager","validateAuditConfiguration":"Foxy\\Asset\\AbstractAssetManager","withManagerTimeout":"Foxy\\Asset\\AbstractAssetManager"},"constants":{"NODE_MODULES_PATH":"Foxy\\Asset\\AbstractManifestAssetManager"}}},"Foxy\\Audit\\AuditFinding":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditfinding/","summary":"Represents one normalized frontend dependency security advisory.","properties":{"advisoryId":{"type":"string","description":"Preferred advisory identifier, such as a GHSA identifier.","readonly":true,"promoted":true},"affectedVersions":{"type":"list<string>","default":"[]","description":"Installed versions affected by the advisory.","readonly":true,"promoted":true},"cves":{"type":"list<string>","default":"[]","description":"Associated CVE identifiers.","readonly":true,"promoted":true},"cveStatus":{"type":"Foxy\\Audit\\CveStatus","default":"\\Foxy\\Audit\\CveStatus::NOT_REQUESTED","description":"Status of CVE resolution for this advisory.","readonly":true,"promoted":true},"dependencyPaths":{"type":"list<string>","default":"[]","description":"Dependency paths that include the vulnerable package.","readonly":true,"promoted":true},"package":{"type":"string","description":"Package affected by the advisory.","readonly":true,"promoted":true},"severity":{"type":"Foxy\\Audit\\Severity","description":"Normalized advisory severity.","readonly":true,"promoted":true},"sourceId":{"type":"string|null","description":"Identifier reported by the package manager.","readonly":true,"promoted":true},"title":{"type":"string","description":"Human-readable advisory title.","readonly":true,"promoted":true},"url":{"type":"string|null","default":"null","description":"Advisory details URL.","readonly":true,"promoted":true},"vulnerableVersions":{"type":"string","description":"Version constraint reported as vulnerable.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $package, Foxy\\Audit\\Severity $severity, string $advisoryId, string|null $sourceId, string $title, string $vulnerableVersions, string|null $url = null, list<string> $cves = [], Foxy\\Audit\\CveStatus $cveStatus = \\Foxy\\Audit\\CveStatus::NOT_REQUESTED, list<string> $affectedVersions = [], list<string> $dependencyPaths = [])","summary":"Creates an immutable audit finding.","params":[{"name":"$package","type":"string","description":"Package affected by the advisory."},{"name":"$severity","type":"Foxy\\Audit\\Severity","description":"Normalized advisory severity."},{"name":"$advisoryId","type":"string","description":"Preferred advisory identifier, such as a GHSA identifier."},{"name":"$sourceId","type":"string|null","description":"Identifier reported by the package manager."},{"name":"$title","type":"string","description":"Human-readable advisory title."},{"name":"$vulnerableVersions","type":"string","description":"Version constraint reported as vulnerable."},{"name":"$url","type":"string|null","default":"null","optional":true,"description":"Advisory details URL."},{"name":"$cves","type":"list<string>","default":"[]","optional":true,"description":"Associated CVE identifiers."},{"name":"$cveStatus","type":"Foxy\\Audit\\CveStatus","default":"\\Foxy\\Audit\\CveStatus::NOT_REQUESTED","optional":true,"description":"Status of CVE resolution for this advisory."},{"name":"$affectedVersions","type":"list<string>","default":"[]","optional":true,"description":"Installed versions affected by the advisory."},{"name":"$dependencyPaths","type":"list<string>","default":"[]","optional":true,"description":"Dependency paths that include the vulnerable package."}]},"withCveResolution":{"signature":"public function withCveResolution(list<string> $cves, Foxy\\Audit\\CveStatus $status): self","summary":"Returns a copy with the supplied CVE resolution.","params":[{"name":"$cves","type":"list<string>","description":"Resolved CVE identifiers."},{"name":"$status","type":"Foxy\\Audit\\CveStatus"}],"return":{"type":"self"}}}},"Foxy\\Audit\\AuditFormat":{"kind":"enum","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditformat/","summary":"Output formats supported by the audit command.","backingType":"string","cases":{"JSON":{"value":"'json'"},"PLAIN":{"value":"'plain'"},"SUMMARY":{"value":"'summary'"},"TABLE":{"value":"'table'"}}},"Foxy\\Audit\\AuditFormatter":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditformatter/","summary":"Renders normalized audit reports for console output.","methods":{"write":{"signature":"public function write(Foxy\\Audit\\AuditReport $report, Foxy\\Audit\\Severity $minimumSeverity, Foxy\\Audit\\AuditFormat $format, Symfony\\Component\\Console\\Output\\OutputInterface $output): void","summary":"Writes the report in the selected output format.","params":[{"name":"$report","type":"Foxy\\Audit\\AuditReport"},{"name":"$minimumSeverity","type":"Foxy\\Audit\\Severity"},{"name":"$format","type":"Foxy\\Audit\\AuditFormat"},{"name":"$output","type":"Symfony\\Component\\Console\\Output\\OutputInterface"}],"return":{"type":"void"},"throws":[{"type":"JsonException"}]}}},"Foxy\\Audit\\AuditNormalizer":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditnormalizer/","summary":"Normalizes GHSA and CVE advisory identifiers and the string lists attached to audit findings.","methods":{"isCveId":{"signature":"public static function isCveId(string $value): bool","summary":"Returns whether the value is a CVE identifier, matched case-insensitively.","params":[{"name":"$value","type":"string","description":"Candidate identifier, already trimmed by the caller."}],"return":{"type":"bool"},"static":true},"normalizeGhsaId":{"signature":"public static function normalizeGhsaId(string $value): string|null","summary":"Returns the canonical GHSA identifier (uppercase prefix, lowercase segments), or `null` if the value is not a bare GHSA identifier.","params":[{"name":"$value","type":"string","description":"Candidate identifier, already trimmed by the caller."}],"return":{"type":"string|null"},"static":true},"normalizeGhsaReference":{"signature":"public static function normalizeGhsaReference(string $value): string|null","summary":"Returns the canonical GHSA identifier of a bare GHSA identifier or a `https://github.com/advisories/` URL with an optional trailing slash, or `null` if the value is neither.","params":[{"name":"$value","type":"string","description":"Candidate identifier or advisory URL."}],"return":{"type":"string|null"},"static":true},"uniqueSorted":{"signature":"public static function uniqueSorted(list<string> $values): list<string>","summary":"Returns the values without duplicates, sorted in ascending order and reindexed as a list.","params":[{"name":"$values","type":"list<string>","description":"Values to deduplicate and sort."}],"return":{"type":"list<string>"},"static":true}}},"Foxy\\Audit\\AuditParserInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditparserinterface/","summary":"Parses a package manager's audit output into normalized findings.","methods":{"parse":{"signature":"abstract public function parse(string $output): list<Foxy\\Audit\\AuditFinding>","summary":"Parses the complete audit command output.","params":[{"name":"$output","type":"string"}],"return":{"type":"list<Foxy\\Audit\\AuditFinding>"},"abstract":true}}},"Foxy\\Audit\\AuditProcessResult":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditprocessresult/","summary":"Contains the raw result of a package manager audit process.","properties":{"errorOutput":{"type":"string","description":"Standard error captured from the process.","readonly":true,"promoted":true},"exitCode":{"type":"int","description":"Process exit status.","readonly":true,"promoted":true},"output":{"type":"string","description":"Standard output captured from the process.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(int $exitCode, string $output, string $errorOutput)","summary":"Creates an immutable process result.","params":[{"name":"$exitCode","type":"int","description":"Process exit status."},{"name":"$output","type":"string","description":"Standard output captured from the process."},{"name":"$errorOutput","type":"string","description":"Standard error captured from the process."}]}}},"Foxy\\Audit\\AuditReport":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditreport/","summary":"Contains normalized findings and diagnostics from one package manager audit.","properties":{"diagnostics":{"type":"string","default":"''","description":"Diagnostic output emitted by the package manager.","readonly":true,"promoted":true},"findings":{"type":"list<Foxy\\Audit\\AuditFinding>","description":"Normalized security findings.","readonly":true,"promoted":true},"manager":{"type":"string","description":"Package manager that produced the report.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $manager, list<Foxy\\Audit\\AuditFinding> $findings, string $diagnostics = '')","summary":"Creates an immutable audit report.","params":[{"name":"$manager","type":"string","description":"Package manager that produced the report."},{"name":"$findings","type":"list<Foxy\\Audit\\AuditFinding>","description":"Normalized security findings."},{"name":"$diagnostics","type":"string","default":"''","optional":true,"description":"Diagnostic output emitted by the package manager."}]},"countPackages":{"signature":"public function countPackages(): int","summary":"Returns the number of distinct affected packages.","return":{"type":"int"}},"countSeverities":{"signature":"public function countSeverities(): array<string, int>","summary":"Counts findings for every supported severity.","return":{"type":"array<string, int>"}},"hasFindingAtLeast":{"signature":"public function hasFindingAtLeast(Foxy\\Audit\\Severity $minimumSeverity): bool","summary":"Whether any finding meets or exceeds the minimum severity.","params":[{"name":"$minimumSeverity","type":"Foxy\\Audit\\Severity"}],"return":{"type":"bool"}},"withFindings":{"signature":"public function withFindings(list<Foxy\\Audit\\AuditFinding> $findings): self","summary":"Returns a copy with the supplied findings.","params":[{"name":"$findings","type":"list<Foxy\\Audit\\AuditFinding>","description":"Replacement findings."}],"return":{"type":"self"}}}},"Foxy\\Audit\\AuditRequest":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditrequest/","summary":"Describes the scope and failure threshold of an audit run.","properties":{"minimumSeverity":{"type":"Foxy\\Audit\\Severity","default":"\\Foxy\\Audit\\Severity::LOW","description":"Lowest severity that makes the audit report vulnerable.","readonly":true,"promoted":true},"noDev":{"type":"bool","default":"false","description":"Whether development dependencies are excluded.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(Foxy\\Audit\\Severity $minimumSeverity = \\Foxy\\Audit\\Severity::LOW, bool $noDev = false)","summary":"Creates an immutable audit request.","params":[{"name":"$minimumSeverity","type":"Foxy\\Audit\\Severity","default":"\\Foxy\\Audit\\Severity::LOW","optional":true,"description":"Lowest severity that makes the audit report vulnerable."},{"name":"$noDev","type":"bool","default":"false","optional":true,"description":"Whether development dependencies are excluded."}]}}},"Foxy\\Audit\\AuditRunner":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditrunner/","summary":"Runs and validates a package manager audit before normalizing its findings.","implements":["Foxy\\Audit\\AuditRunnerInterface"],"methods":{"__construct":{"signature":"public function __construct(Foxy\\Asset\\AssetManagerInterface $manager)","summary":"Creates an audit runner for the selected asset manager.","params":[{"name":"$manager","type":"Foxy\\Asset\\AssetManagerInterface"}]},"audit":{"signature":"public function audit(Foxy\\Audit\\AuditRequest $request): Foxy\\Audit\\AuditReport","summary":"Runs the configured package manager audit and returns a normalized report.","params":[{"name":"$request","type":"Foxy\\Audit\\AuditRequest"}],"return":{"type":"Foxy\\Audit\\AuditReport"}}}},"Foxy\\Audit\\AuditRunnerInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/auditrunnerinterface/","summary":"Runs a package manager audit and returns normalized findings.","methods":{"audit":{"signature":"abstract public function audit(Foxy\\Audit\\AuditRequest $request): Foxy\\Audit\\AuditReport","summary":"Audits the selected dependency set.","params":[{"name":"$request","type":"Foxy\\Audit\\AuditRequest"}],"return":{"type":"Foxy\\Audit\\AuditReport"},"abstract":true}}},"Foxy\\Audit\\CveEnricher":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/cveenricher/","summary":"Adds CVE identifiers to audit findings, resolving every unique GHSA advisory in a single batch.","methods":{"__construct":{"signature":"public function __construct(Foxy\\Audit\\CveResolverInterface $resolver)","summary":"Creates an enricher backed by the supplied CVE resolver.","params":[{"name":"$resolver","type":"Foxy\\Audit\\CveResolverInterface"}]},"enrich":{"signature":"public function enrich(Foxy\\Audit\\AuditReport $report, callable(string): void $warningHandler): Foxy\\Audit\\AuditReport","summary":"Returns the report with a CVE resolution on every finding, in the original order.","params":[{"name":"$report","type":"Foxy\\Audit\\AuditReport","description":"Report whose findings are enriched."},{"name":"$warningHandler","type":"callable(string): void","description":"Receives one warning per GHSA identifier whose lookup failed."}],"return":{"type":"Foxy\\Audit\\AuditReport"}}}},"Foxy\\Audit\\CveResolution":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/cveresolution/","summary":"Contains the CVE identifiers resolved for one security advisory.","properties":{"cves":{"type":"list<string>","description":"Resolved CVE identifiers.","readonly":true,"promoted":true},"status":{"type":"Foxy\\Audit\\CveStatus","description":"Outcome of the CVE lookup.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(list<string> $cves, Foxy\\Audit\\CveStatus $status)","summary":"Creates an immutable CVE resolution.","params":[{"name":"$cves","type":"list<string>","description":"Resolved CVE identifiers."},{"name":"$status","type":"Foxy\\Audit\\CveStatus","description":"Outcome of the CVE lookup."}]}}},"Foxy\\Audit\\CveResolverInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/cveresolverinterface/","summary":"Resolves the CVE identifiers of GitHub security advisories.","methods":{"resolveMany":{"signature":"abstract public function resolveMany(list<string> $ghsaIds): array<string, Foxy\\Audit\\CveResolution|Throwable>","summary":"Resolves the CVE identifiers of several advisories at once.","params":[{"name":"$ghsaIds","type":"list<string>","description":"GHSA identifiers to resolve."}],"return":{"type":"array<string, Foxy\\Audit\\CveResolution|Throwable>","description":"One result for every identifier, keyed by canonical GHSA identifier; a `Throwable` marks a lookup that failed."},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if an identifier is not a GHSA identifier; nothing is requested in that case."}],"abstract":true}}},"Foxy\\Audit\\CveStatus":{"kind":"enum","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/cvestatus/","summary":"Outcomes of resolving CVE identifiers for an advisory.","backingType":"string","cases":{"NONE_ASSIGNED":{"value":"'none_assigned'"},"NOT_REQUESTED":{"value":"'not_requested'"},"RESOLVED":{"value":"'resolved'"},"UNAVAILABLE":{"value":"'unavailable'"}}},"Foxy\\Audit\\GitHubAdvisoryCveResolver":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/githubadvisorycveresolver/","summary":"Resolves the CVE identifiers of GitHub security advisories through the GitHub global security advisories API.","implements":["Foxy\\Audit\\CveResolverInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\Util\\HttpDownloader $httpDownloader)","summary":"Creates a resolver using Composer's asynchronous HTTP downloader.","params":[{"name":"$httpDownloader","type":"Composer\\Util\\HttpDownloader"}]},"resolveMany":{"signature":"public function resolveMany(list<string> $ghsaIds): array<string, Foxy\\Audit\\CveResolution|Throwable>","summary":"Resolves the CVE identifiers of several advisories with one concurrent request per identifier.","params":[{"name":"$ghsaIds","type":"list<string>","description":"GHSA identifiers to resolve, trimmed and compared case-insensitively."}],"return":{"type":"array<string, Foxy\\Audit\\CveResolution|Throwable>","description":"Resolutions keyed by canonical GHSA identifier; a `Throwable` is the transport, JSON, or document error of that lookup."},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if an identifier is not a GHSA identifier; nothing is requested in that case."}]}}},"Foxy\\Audit\\Parser\\AbstractAuditParser":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/abstractauditparser/","summary":"Provides strict validation and normalization helpers for audit output parsers.","methods":{"assertNotErrorDocument":{"signature":"final protected function assertNotErrorDocument(mixed[] $data): void","summary":"Rejects a JSON document that represents a package manager error.","params":[{"name":"$data","type":"mixed[]"}],"return":{"type":"void"},"visibility":"protected"},"assertOutputSize":{"signature":"final protected function assertOutputSize(string $output): void","summary":"Rejects audit output that exceeds the parser's size limit.","params":[{"name":"$output","type":"string"}],"return":{"type":"void"},"visibility":"protected"},"decodeObject":{"signature":"final protected function decodeObject(string $output): mixed[]","summary":"Decodes an audit JSON object after validating its size and shape.","params":[{"name":"$output","type":"string"}],"return":{"type":"mixed[]"},"visibility":"protected"},"getAdvisoryId":{"signature":"final protected function getAdvisoryId(string $sourceId, string|null $candidate, string|null $url): string","summary":"Selects a GHSA identifier from the candidate or URL, falling back to the source identifier.","params":[{"name":"$sourceId","type":"string"},{"name":"$candidate","type":"string|null"},{"name":"$url","type":"string|null"}],"return":{"type":"string"},"visibility":"protected"},"getBoolean":{"signature":"final protected function getBoolean(array $data, string $key, string $context): bool","summary":"Returns a required boolean field.","params":[{"name":"$data","type":"array"},{"name":"$key","type":"string"},{"name":"$context","type":"string"}],"return":{"type":"bool"},"visibility":"protected"},"getCves":{"signature":"final protected function getCves(mixed $value, string $context): list<string>","summary":"Returns validated, normalized CVE identifiers.","params":[{"name":"$value","type":"mixed"},{"name":"$context","type":"string"}],"return":{"type":"list<string>"},"visibility":"protected"},"getGhsaId":{"signature":"final protected function getGhsaId(string|null $value): string|null","summary":"Extracts and normalizes a GHSA identifier from a value or URL.","params":[{"name":"$value","type":"string|null"}],"return":{"type":"string|null"},"visibility":"protected"},"getManagerName":{"signature":"abstract protected function getManagerName(): string","summary":"Returns the package manager name used in malformed-output errors.","return":{"type":"string"},"visibility":"protected","abstract":true},"getNonNegativeInteger":{"signature":"final protected function getNonNegativeInteger(array $data, string $key, string $context): int","summary":"Returns a required non-negative integer field.","params":[{"name":"$data","type":"array"},{"name":"$key","type":"string"},{"name":"$context","type":"string"}],"return":{"type":"int"},"visibility":"protected"},"getObject":{"signature":"final protected function getObject(mixed $value, string $context): mixed[]","summary":"Converts a decoded JSON object into its property map.","params":[{"name":"$value","type":"mixed"},{"name":"$context","type":"string"}],"return":{"type":"mixed[]"},"visibility":"protected"},"getOptionalString":{"signature":"final protected function getOptionalString(array $data, string $key, string $context): string|null","summary":"Returns a sanitized optional string field, or `null` when absent or empty.","params":[{"name":"$data","type":"array"},{"name":"$key","type":"string"},{"name":"$context","type":"string"}],"return":{"type":"string|null"},"visibility":"protected"},"getSeverity":{"signature":"final protected function getSeverity(mixed $value, string $context): Foxy\\Audit\\Severity","summary":"Returns a supported normalized severity value.","params":[{"name":"$value","type":"mixed"},{"name":"$context","type":"string"}],"return":{"type":"Foxy\\Audit\\Severity"},"visibility":"protected"},"getSeverityCount":{"signature":"final protected function getSeverityCount(array $metadata, string $context, bool $requireTotal): int","summary":"Returns the sum of severity counts and optionally validates the reported total.","params":[{"name":"$metadata","type":"array"},{"name":"$context","type":"string"},{"name":"$requireTotal","type":"bool"}],"return":{"type":"int"},"visibility":"protected"},"getSourceId":{"signature":"final protected function getSourceId(mixed $value, string $context): string","summary":"Returns a non-empty source identifier from a string or integer value.","params":[{"name":"$value","type":"mixed"},{"name":"$context","type":"string"}],"return":{"type":"string"},"visibility":"protected"},"getString":{"signature":"final protected function getString(array $data, string $key, string $context, bool $allowEmpty = false): string","summary":"Returns a required sanitized string field.","params":[{"name":"$data","type":"array"},{"name":"$key","type":"string"},{"name":"$context","type":"string"},{"name":"$allowEmpty","type":"bool","default":"false","optional":true}],"return":{"type":"string"},"visibility":"protected"},"getStringList":{"signature":"final protected function getStringList(mixed $value, string $context): list<string>","summary":"Returns a normalized list containing only strings.","params":[{"name":"$value","type":"mixed"},{"name":"$context","type":"string"}],"return":{"type":"list<string>"},"visibility":"protected"},"malformed":{"signature":"final protected function malformed(string $reason, Throwable|null $previous = null): Foxy\\Exception\\RuntimeException","summary":"Creates a package-manager-specific malformed-output exception.","params":[{"name":"$reason","type":"string"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true}],"return":{"type":"Foxy\\Exception\\RuntimeException"},"visibility":"protected"},"sanitizeString":{"signature":"final protected function sanitizeString(string $value): string","summary":"Replaces control characters and trims surrounding whitespace.","params":[{"name":"$value","type":"string"}],"return":{"type":"string"},"visibility":"protected"},"uniqueStrings":{"signature":"final protected function uniqueStrings(list<string> $values): list<string>","summary":"Returns unique strings in deterministic order.","params":[{"name":"$values","type":"list<string>"}],"return":{"type":"list<string>"},"visibility":"protected"}}},"Foxy\\Audit\\Parser\\AbstractBulkAdvisoryParser":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/abstractbulkadvisoryparser/","summary":"Parses the npm registry's bulk advisories document, which the `native` manager fetches and `bun audit` prints.","extends":"Foxy\\Audit\\Parser\\AbstractAuditParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"parse":{"signature":"public function parse(string $output): array","summary":"Parses a bulk advisories JSON object into normalized findings.","params":[{"name":"$output","type":"string"}],"return":{"type":"array"}}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getManagerName":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Parser\\BunAuditParser":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/bunauditparser/","summary":"Parses the `bun audit --json` report, which is the npm registry's bulk advisories document.","extends":"Foxy\\Audit\\Parser\\AbstractBulkAdvisoryParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"getManagerName":{"signature":"protected function getManagerName(): string","summary":"Returns the Bun manager name.","return":{"type":"string"},"visibility":"protected"}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","parse":"Foxy\\Audit\\Parser\\AbstractBulkAdvisoryParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Parser\\DenoAuditParser":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/denoauditparser/","summary":"Parses the human-readable report produced by `deno audit`.","extends":"Foxy\\Audit\\Parser\\AbstractAuditParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"getManagerName":{"signature":"protected function getManagerName(): string","summary":"Returns the Deno manager name.","return":{"type":"string"},"visibility":"protected"},"parse":{"signature":"public function parse(string $output): array","summary":"Parses a complete Deno audit report.","params":[{"name":"$output","type":"string"}],"return":{"type":"array"}}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Parser\\NativeAuditParser":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/nativeauditparser/","summary":"Parses the bulk advisories document that the `native` manager fetches from the configured npm registry.","extends":"Foxy\\Audit\\Parser\\AbstractBulkAdvisoryParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"getManagerName":{"signature":"protected function getManagerName(): string","summary":"Returns the native manager name.","return":{"type":"string"},"visibility":"protected"}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","parse":"Foxy\\Audit\\Parser\\AbstractBulkAdvisoryParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Parser\\NpmAuditParser":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/npmauditparser/","summary":"Parses the JSON report produced by npm audit report version 2.","extends":"Foxy\\Audit\\Parser\\AbstractAuditParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"getManagerName":{"signature":"protected function getManagerName(): string","summary":"Returns the npm manager name.","return":{"type":"string"},"visibility":"protected"},"parse":{"signature":"public function parse(string $output): array","summary":"Parses a complete npm audit report.","params":[{"name":"$output","type":"string"}],"return":{"type":"array"}}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Parser\\PnpmAuditParser":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/pnpmauditparser/","summary":"Parses the JSON advisory report produced by `pnpm audit`.","extends":"Foxy\\Audit\\Parser\\AbstractAuditParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"getManagerName":{"signature":"protected function getManagerName(): string","summary":"Returns the pnpm manager name.","return":{"type":"string"},"visibility":"protected"},"parse":{"signature":"public function parse(string $output): array","summary":"Parses a complete pnpm audit report.","params":[{"name":"$output","type":"string"}],"return":{"type":"array"}}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Parser\\YarnAuditParser":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/parser/yarnauditparser/","summary":"Parses the newline-delimited JSON report produced by Yarn audit.","extends":"Foxy\\Audit\\Parser\\AbstractAuditParser","implements":["Foxy\\Audit\\AuditParserInterface"],"methods":{"getManagerName":{"signature":"protected function getManagerName(): string","summary":"Returns the Yarn manager name.","return":{"type":"string"},"visibility":"protected"},"parse":{"signature":"public function parse(string $output): array","summary":"Parses a complete Yarn audit report.","params":[{"name":"$output","type":"string"}],"return":{"type":"array"}}},"inherited":{"methods":{"assertNotErrorDocument":"Foxy\\Audit\\Parser\\AbstractAuditParser","assertOutputSize":"Foxy\\Audit\\Parser\\AbstractAuditParser","decodeObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getAdvisoryId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getBoolean":"Foxy\\Audit\\Parser\\AbstractAuditParser","getCves":"Foxy\\Audit\\Parser\\AbstractAuditParser","getGhsaId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getNonNegativeInteger":"Foxy\\Audit\\Parser\\AbstractAuditParser","getObject":"Foxy\\Audit\\Parser\\AbstractAuditParser","getOptionalString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverity":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSeverityCount":"Foxy\\Audit\\Parser\\AbstractAuditParser","getSourceId":"Foxy\\Audit\\Parser\\AbstractAuditParser","getString":"Foxy\\Audit\\Parser\\AbstractAuditParser","getStringList":"Foxy\\Audit\\Parser\\AbstractAuditParser","malformed":"Foxy\\Audit\\Parser\\AbstractAuditParser","sanitizeString":"Foxy\\Audit\\Parser\\AbstractAuditParser","uniqueStrings":"Foxy\\Audit\\Parser\\AbstractAuditParser"}}},"Foxy\\Audit\\Severity":{"kind":"enum","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/audit/severity/","summary":"Normalized security advisory severity levels.","backingType":"string","cases":{"CRITICAL":{"value":"'critical'"},"HIGH":{"value":"'high'"},"INFO":{"value":"'info'"},"LOW":{"value":"'low'"},"MODERATE":{"value":"'moderate'"}},"methods":{"isAtLeast":{"signature":"public function isAtLeast(self $threshold): bool","summary":"Whether this severity meets or exceeds the threshold.","params":[{"name":"$threshold","type":"self"}],"return":{"type":"bool"}},"weight":{"signature":"public function weight(): int","summary":"Returns the relative ordering weight of this severity.","return":{"type":"int"}}}},"Foxy\\Command\\AuditCommand":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/command/auditcommand/","summary":"Audits frontend dependencies and renders normalized vulnerability findings.","extends":"Composer\\Command\\BaseCommand","methods":{"__construct":{"signature":"public function __construct(Foxy\\Audit\\AuditRunnerInterface $runner, Foxy\\Audit\\AuditFormatter $formatter = new \\Foxy\\Audit\\AuditFormatter(), Foxy\\Audit\\CveResolverInterface|null $cveResolver = null)","summary":"Creates the audit command and its optional CVE resolver.","params":[{"name":"$runner","type":"Foxy\\Audit\\AuditRunnerInterface","description":"Runs the selected package manager audit."},{"name":"$formatter","type":"Foxy\\Audit\\AuditFormatter","default":"new \\Foxy\\Audit\\AuditFormatter()","optional":true,"description":"Renders the normalized report."},{"name":"$cveResolver","type":"Foxy\\Audit\\CveResolverInterface|null","default":"null","optional":true,"description":"Resolves GHSA advisories to CVE identifiers."}]},"configure":{"signature":"protected function configure(): void","summary":"Configures the audit command options and help text.","return":{"type":"void"},"visibility":"protected"},"execute":{"signature":"protected function execute(Symfony\\Component\\Console\\Input\\InputInterface $input, Symfony\\Component\\Console\\Output\\OutputInterface $output): int","summary":"Runs the audit and returns its stable command status.","params":[{"name":"$input","type":"Symfony\\Component\\Console\\Input\\InputInterface"},{"name":"$output","type":"Symfony\\Component\\Console\\Output\\OutputInterface"}],"return":{"type":"int"},"visibility":"protected"}},"constants":{"STATUS_FAILED":{"value":"2"},"STATUS_OK":{"value":"0"},"STATUS_VULNERABLE":{"value":"1"}}},"Foxy\\Command\\FoxyCommandProvider":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/command/foxycommandprovider/","summary":"Provides Foxy's Composer console commands.","implements":["Composer\\Plugin\\Capability\\CommandProvider"],"methods":{"__construct":{"signature":"public function __construct(array<string, mixed> $arguments)","summary":"Creates the provider from Composer's capability arguments.","params":[{"name":"$arguments","type":"array<string, mixed>","description":"Composer, I/O, and plugin instances supplied by Composer."}]},"getCommands":{"signature":"public function getCommands(): list<Composer\\Command\\BaseCommand>","summary":"Returns the Foxy commands configured with the active Composer context.","return":{"type":"list<Composer\\Command\\BaseCommand>"}}}},"Foxy\\Config\\Config":{"kind":"class","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/config/config/","summary":"Resolves Foxy configuration from package values, defaults, and environment overrides.","methods":{"__construct":{"signature":"public function __construct(array $config, array $defaults = [])","summary":"Creates a configuration resolver.","params":[{"name":"$config","type":"array","description":"Package and global configuration values."},{"name":"$defaults","type":"array","default":"[]","optional":true,"description":"Default values used when a key is not configured."}]},"forManager":{"signature":"public function forManager(string $manager): static","summary":"Returns a copy whose `manager-*` map entries resolve for the given manager.","params":[{"name":"$manager","type":"string","description":"The manager name used as the key of `manager-*` maps."}],"return":{"type":"static","description":"The manager-scoped copy."}},"get":{"signature":"public function get(string $key, mixed $default = null): mixed","summary":"Get the config value.","params":[{"name":"$key","type":"string","description":"The config key."},{"name":"$default","type":"mixed","default":"null","optional":true,"description":"The default value."}],"return":{"type":"mixed"}},"getArray":{"signature":"public function getArray(string $key, array $default = []): array","summary":"Get the array config value.","params":[{"name":"$key","type":"string","description":"The config key."},{"name":"$default","type":"array","default":"[]","optional":true,"description":"The default value."}],"return":{"type":"array"}},"isEnabled":{"signature":"public function isEnabled(string $key): bool","summary":"Check whether a configuration flag is enabled.","params":[{"name":"$key","type":"string","description":"The config key."}],"return":{"type":"bool"}}}},"Foxy\\Config\\ConfigBuilder":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/config/configbuilder/","summary":"Builds Foxy configuration from Composer's project and global settings.","methods":{"build":{"signature":"public static function build(Composer\\Composer $composer, array $defaults = [], Composer\\IO\\IOInterface|null $io = null): Foxy\\Config\\Config","summary":"Build the config of plugin.","params":[{"name":"$composer","type":"Composer\\Composer","description":"The composer."},{"name":"$defaults","type":"array","default":"[]","optional":true,"description":"The default values."},{"name":"$io","type":"Composer\\IO\\IOInterface|null","default":"null","optional":true,"description":"The composer input/output."}],"return":{"type":"Foxy\\Config\\Config"},"throws":[{"type":"Seld\\JsonLint\\ParsingException"}],"static":true}}},"Foxy\\Converter\\SemverConverter":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/converter/semverconverter/","summary":"Converts an asset-manager version to a Composer-compatible version.","implements":["Foxy\\Converter\\VersionConverterInterface"],"methods":{"convertVersion":{"signature":"public function convertVersion(string|null $version = null): string","summary":"Converts an asset-manager version to Composer-compatible syntax.","params":[{"name":"$version","type":"string|null","default":"null","optional":true}],"return":{"type":"string"}}}},"Foxy\\Converter\\SemverUtil":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/converter/semverutil/","summary":"Normalizes asset-manager semantic versions for Composer.","methods":{"convertDateVersion":{"signature":"public static function convertDateVersion(string $version): string","summary":"Converts the date or datetime version.","params":[{"name":"$version","type":"string","description":"The version."}],"return":{"type":"string"},"static":true},"convertVersionMetadata":{"signature":"public static function convertVersionMetadata(string $version): string","summary":"Converts prerelease and build metadata to Composer's normalized stability notation.","params":[{"name":"$version","type":"string"}],"return":{"type":"string"},"static":true},"createPattern":{"signature":"public static function createPattern(string $pattern): string","summary":"Creates a pattern with the version prefix pattern.","params":[{"name":"$pattern","type":"string","description":"The pattern without '/'."}],"return":{"type":"string","description":"The full pattern with '/'."},"static":true}}},"Foxy\\Converter\\VersionConverterInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/converter/versionconverterinterface/","summary":"Converts an asset-manager version to a Composer-compatible version.","methods":{"convertVersion":{"signature":"abstract public function convertVersion(string|null $version = null): string","summary":"Converts the asset version to composer version.","params":[{"name":"$version","type":"string|null","default":"null","optional":true,"description":"The asset version"}],"return":{"type":"string","description":"The composer version"},"abstract":true}}},"Foxy\\Event\\AbstractSolveEvent":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/event/abstractsolveevent/","summary":"Carries the asset directory and installed packages through the solve lifecycle.","extends":"Composer\\EventDispatcher\\Event","methods":{"__construct":{"signature":"public function __construct(string $name, string $assetDir, Composer\\Package\\PackageInterface[] $packages = [])","summary":"Creates a solve lifecycle event.","params":[{"name":"$name","type":"string","description":"The event name."},{"name":"$assetDir","type":"string","description":"The directory of mock assets."},{"name":"$packages","type":"Composer\\Package\\PackageInterface[]","default":"[]","optional":true,"description":"All installed Composer packages."}]},"getAssetDir":{"signature":"public function getAssetDir(): string","summary":"Get the directory of mock assets.","return":{"type":"string"}},"getPackages":{"signature":"public function getPackages(): array","summary":"Get the installed Composer packages.","return":{"type":"array"}}}},"Foxy\\Event\\GetAssetsEvent":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/event/getassetsevent/","summary":"Allows listeners to contribute asset packages before dependency solving.","extends":"Foxy\\Event\\AbstractSolveEvent","methods":{"__construct":{"signature":"public function __construct(string $assetDir, Composer\\Package\\PackageInterface[] $packages, mixed[] $assets = [])","summary":"Creates the asset collection event.","params":[{"name":"$assetDir","type":"string","description":"The directory of mock assets."},{"name":"$packages","type":"Composer\\Package\\PackageInterface[]","description":"All installed Composer packages."},{"name":"$assets","type":"mixed[]","default":"[]","optional":true,"description":"The map of asset package name and the asset package path."}]},"addAsset":{"signature":"public function addAsset(string $name, string $path): self","summary":"Add the asset package.","params":[{"name":"$name","type":"string","description":"The asset package name."},{"name":"$path","type":"string","description":"An absolute package manifest path or a ready `file:` directory reference."}],"return":{"type":"self"}},"getAssets":{"signature":"public function getAssets(): array","summary":"Get the map of asset package name and the asset package path.","return":{"type":"array"}},"hasAsset":{"signature":"public function hasAsset(string $name): bool","summary":"Check if the asset package is present.","params":[{"name":"$name","type":"string","description":"The asset package name"}],"return":{"type":"bool"}}},"inherited":{"methods":{"getAssetDir":"Foxy\\Event\\AbstractSolveEvent","getPackages":"Foxy\\Event\\AbstractSolveEvent"}}},"Foxy\\Event\\PostSolveEvent":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/event/postsolveevent/","summary":"Reports the asset-manager result after dependency solving.","extends":"Foxy\\Event\\AbstractSolveEvent","methods":{"__construct":{"signature":"public function __construct(string $assetDir, Composer\\Package\\PackageInterface[] $packages, int $runResult)","summary":"Creates the post-solve event.","params":[{"name":"$assetDir","type":"string","description":"The directory of mock assets."},{"name":"$packages","type":"Composer\\Package\\PackageInterface[]","description":"All installed Composer packages."},{"name":"$runResult","type":"int","description":"The process result of asset manager execution."}]},"getRunResult":{"signature":"public function getRunResult(): int","summary":"Get the process result of asset manager execution.","return":{"type":"int"}}},"inherited":{"methods":{"getAssetDir":"Foxy\\Event\\AbstractSolveEvent","getPackages":"Foxy\\Event\\AbstractSolveEvent"}}},"Foxy\\Event\\PreSolveEvent":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/event/presolveevent/","summary":"Announces that asset dependency solving is about to start.","extends":"Foxy\\Event\\AbstractSolveEvent","methods":{"__construct":{"signature":"public function __construct(string $assetDir, Composer\\Package\\PackageInterface[] $packages = [])","summary":"Creates the pre-solve event.","params":[{"name":"$assetDir","type":"string","description":"The directory of mock assets."},{"name":"$packages","type":"Composer\\Package\\PackageInterface[]","default":"[]","optional":true,"description":"All installed Composer packages."}]}},"inherited":{"methods":{"getAssetDir":"Foxy\\Event\\AbstractSolveEvent","getPackages":"Foxy\\Event\\AbstractSolveEvent"}}},"Foxy\\Exception\\ExceptionInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/exception/exceptioninterface/","summary":"Identifies exceptions raised by Foxy."},"Foxy\\Exception\\Message":{"kind":"enum","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/exception/message/","summary":"Represents error message templates for Foxy exceptions.","backingType":"string","cases":{"ASSET_BUN_AUDIT_CONFIG_UNREADABLE":{"value":"'The Bun audit configuration \"%s\" cannot be read.'","description":"Error when a Bun audit configuration file (`bunfig.toml` or `.npmrc`) cannot be read."},"ASSET_BUN_AUDIT_REASON_NPMRC_KEY_ESCAPES":{"value":"'escape sequences in npmrc keys are not supported; use canonical ' . 'keys'","description":"Reason fragment when npmrc keys contain escape sequences."},"ASSET_BUN_AUDIT_REASON_NPMRC_OMIT_ESCAPES":{"value":"'escape sequences in npmrc omit values are not supported; use ' . 'canonical values'","description":"Reason fragment when npmrc omit values contain escape sequences."},"ASSET_BUN_AUDIT_REASON_TOML_ARRAY_INSTALL_TABLE":{"value":"'array install tables are not supported; use an [install] ' . 'table'","description":"Reason fragment when bunfig declares an array install table."},"ASSET_BUN_AUDIT_REASON_TOML_INLINE_INSTALL_TABLE":{"value":"'inline install tables are not supported; use an ' . '[install] table'","description":"Reason fragment when bunfig declares an inline install table."},"ASSET_BUN_AUDIT_REASON_TOML_KEY_ESCAPES":{"value":"'escape sequences in TOML keys are not supported; use canonical ' . 'keys'","description":"Reason fragment when bunfig keys contain escape sequences."},"ASSET_BUN_AUDIT_REASON_TOML_MULTILINE_CONTAINER":{"value":"'multiline container values in [install] are not supported'","description":"Reason fragment when an [install] value is a multiline array or inline table."},"ASSET_BUN_AUDIT_REASON_TOML_MULTILINE_STRING":{"value":"'multiline strings in [install] are not supported'","description":"Reason fragment when an [install] value is a multiline string."},"ASSET_BUN_AUDIT_REASON_UTF8_REQUIRED":{"value":"'the configuration must be UTF-8'","description":"Reason fragment when an audit configuration is not valid UTF-8."},"ASSET_BUN_AUDIT_SCOPE_RESTRICTED":{"value":"'The Bun audit cannot guarantee the requested dependency scope because ' . '\"%s\" declares \"%s\".'","description":"Error when a Bun configuration file (`bunfig.toml` or `.npmrc`) restricts the audited dependency scope."},"ASSET_BUN_AUDIT_SCOPE_UNVERIFIABLE":{"value":"'The Bun audit cannot verify dependency scope in \"%s\": %s.'","description":"Error when the dependency scope of a Bun configuration file (`bunfig.toml` or `.npmrc`) cannot be verified."},"ASSET_DENO_AUDIT_NO_DEV_UNSUPPORTED":{"value":"'The Deno audit cannot guarantee the requested dependency scope ' . 'because \"deno audit\" cannot exclude development dependencies.'","description":"Error when a production-only Deno audit is requested."},"ASSET_DENO_COMPOSER_ASSET_NOT_NESTED":{"value":"'The Composer asset \"%s\" must be located in a subdirectory of the ' . 'root package directory to be installed with Deno.'","description":"Error when a Composer asset is not nested in the root package directory."},"ASSET_DENO_WORKSPACES_INVALID":{"value":"'The \"workspaces\" field of \"%s\" must be a list of strings to install ' . 'Composer assets with Deno.'","description":"Error when the Deno \"workspaces\" field is not a list of strings."},"ASSET_MANAGER_BINARY_NOT_INSTALLED":{"value":"'The \"%s\" binary must be installed.'","description":"Error when the asset manager binary is not installed."},"ASSET_MANAGER_LOCK_FILE_MISSING":{"value":"'The %s lock file \"%s\" was not found.'","description":"Error when an audit is requested without the manager lock file."},"ASSET_MANAGER_LOCK_FILES_AMBIGUOUS":{"value":"'Multiple asset manager lock files were found; configure \"manager\" ' . 'explicitly.'","description":"Error when several asset manager lock files exist."},"ASSET_MANAGER_LOCKED_UNAVAILABLE":{"value":"'The asset manager \"%s\" selected by its lock file is not available.'","description":"Error when the asset manager selected by its lock file is unavailable."},"ASSET_MANAGER_NONE_FOUND":{"value":"'No asset manager was found.'","description":"Error when no asset manager is found."},"ASSET_MANAGER_UNKNOWN":{"value":"'The asset manager \"%s\" doesn\\'t exist.'","description":"Error when the configured asset manager does not exist."},"ASSET_NATIVE_AUDIT_NO_DEV_UNSUPPORTED":{"value":"'The native audit cannot guarantee the requested dependency scope ' . 'because the native manager installs development dependencies together with the others.'","description":"Error when a production-only audit is requested for the native manager."},"ASSET_NPM_WORKSPACE_GRAPH_UNENUMERABLE":{"value":"'The npm workspace graph could not be enumerated from ' . 'package-lock.json. Regenerate the lock file with a supported npm version.'","description":"Error when the npm workspace graph cannot be enumerated."},"ASSET_ROOT_PACKAGE_DIR_MISSING":{"value":"'The root package directory \"%s\" doesn\\'t exist.'","description":"Error when the root package directory does not exist."},"ASSET_VERSION_CONSTRAINT_MISMATCH":{"value":"'The installed %s version \"%s\" doesn\\'t match the configured version ' . 'constraint \"%s\".'","description":"Error when the installed version does not satisfy the configured \"manager-version\"."},"ASSET_VERSION_UNSUPPORTED":{"value":"'The installed %s version \"%s\" doesn\\'t match the supported version ' . 'constraint \"%s\".'","description":"Error when the installed version does not satisfy the supported constraint."},"AUDIT_BULK_PACKAGE_ADVISORIES_REQUIRED":{"value":"'each package must contain a list of advisories'","description":"Bulk advisory parser detail when a package lacks an advisory list."},"AUDIT_BUN_PARTIAL_REPORT":{"value":"'The Bun audit command produced diagnostics and may have returned a partial ' . 'report. %s'","description":"Error when Bun reports diagnostics that may indicate a partial report."},"AUDIT_COMMAND_FAILED":{"value":"'The %s audit command failed with status code %d.'","description":"Error when the audit command fails without diagnostics."},"AUDIT_COMMAND_FAILED_WITH_DIAGNOSTICS":{"value":"'The %s audit command failed with status code %d. %s'","description":"Error when the audit command fails and emits diagnostics."},"AUDIT_CVE_RESOLUTION_MISSING":{"value":"'The CVE resolver returned no result for \"%s\".'","description":"Error when a CVE resolver answers a batch without one of the requested advisories."},"AUDIT_DENO_ADVISORY_ACTIONS_MISMATCH":{"value":"'%s actions must update the package to its patched versions'","description":"Deno parser detail when advisory actions do not match the patched versions."},"AUDIT_DENO_ADVISORY_LINE_COUNT_INVALID":{"value":"'%s must contain %d or %d lines'","description":"Deno parser detail when an advisory block has an unexpected line count."},"AUDIT_DENO_ADVISORY_LINE_UNRECOGNIZED":{"value":"'%s line %d is not recognized'","description":"Deno parser detail when an advisory line is not recognized."},"AUDIT_DENO_REPORT_EMPTY":{"value":"'the report is empty'","description":"Deno parser detail when the report is empty."},"AUDIT_DENO_REPORT_NO_ADVISORY":{"value":"'the report does not contain any advisory'","description":"Deno parser detail when the report contains no advisory."},"AUDIT_DENO_SUMMARY_SEVERITY_MISMATCH":{"value":"'the summary reports %d %s vulnerabilities but the report contains %d'","description":"Deno parser detail when a severity count differs from the summary."},"AUDIT_DENO_SUMMARY_TOTAL_MISMATCH":{"value":"'the summary reports %d vulnerabilities but the report contains %d ' . 'advisories'","description":"Deno parser detail when the advisory count differs from the summary."},"AUDIT_DENO_SUMMARY_UNRECOGNIZED":{"value":"'the report does not end with a recognized summary'","description":"Deno parser detail when the summary line is missing or unrecognized."},"AUDIT_FIELD_BOOLEAN_REQUIRED":{"value":"'%s.%s must be a boolean'","description":"Parser detail when a field is not a boolean."},"AUDIT_FIELD_NON_NEGATIVE_INTEGER_REQUIRED":{"value":"'%s.%s must be a non-negative integer'","description":"Parser detail when a field is not a non-negative integer."},"AUDIT_FIELD_STRING_REQUIRED":{"value":"'%s.%s must be a string'","description":"Parser detail when a field is not a string."},"AUDIT_GHSA_ID_INVALID":{"value":"'The advisory identifier \"%s\" is not a valid GHSA identifier.'","description":"Error when an advisory identifier is not a valid GHSA identifier."},"AUDIT_GITHUB_ADVISORY_INVALID":{"value":"'GitHub returned an invalid advisory document for %s.'","description":"Error when the GitHub advisory response is not a JSON object."},"AUDIT_GITHUB_ADVISORY_MISMATCHED":{"value":"'GitHub returned a mismatched advisory document for %s.'","description":"Error when the GitHub advisory response belongs to another advisory."},"AUDIT_GITHUB_IDENTIFIERS_INVALID":{"value":"'GitHub returned invalid identifiers for %s.'","description":"Error when the GitHub advisory identifiers are not a list."},"AUDIT_MANAGER_ERROR_APPENDED":{"value":"'%s Manager error: %s'","description":"Appends the manager diagnostics to a parser failure message."},"AUDIT_NPM_FIX_AVAILABLE_INVALID":{"value":"'%s.fixAvailable must be a boolean or object'","description":"Npm parser detail when \"fixAvailable\" has an invalid type."},"AUDIT_NPM_METADATA_COUNT_MISMATCH":{"value":"'metadata vulnerability counts must equal the vulnerability entries'","description":"Npm parser detail when metadata counts differ from the entries."},"AUDIT_NPM_NAME_KEY_MISMATCH":{"value":"'%s.name must match its vulnerability key'","description":"Npm parser detail when a vulnerability name differs from its key."},"AUDIT_NPM_REPORT_VERSION_UNSUPPORTED":{"value":"'auditReportVersion must be 2'","description":"Npm parser detail when the report version is not 2."},"AUDIT_NPM_VIA_ENTRY_INVALID":{"value":"'%s.via.%d must be a string or object'","description":"Npm parser detail when a \"via\" entry has an invalid type."},"AUDIT_NPM_VIA_LIST_EMPTY":{"value":"'%s.via must be a non-empty list'","description":"Npm parser detail when \"via\" is empty or not a list."},"AUDIT_NPM_VULNERABILITY_KEY_REQUIRED":{"value":"'each vulnerability must be keyed by a package name'","description":"Npm parser detail when a vulnerability has an empty key."},"AUDIT_OUTPUT_MALFORMED":{"value":"'The %s audit output is malformed: %s.'","description":"Error wrapper for malformed audit output; the second argument is a parser detail case."},"AUDIT_PNPM_FINDINGS_EMPTY":{"value":"'%s.findings must be a non-empty list'","description":"Pnpm parser detail when an advisory has no findings."},"AUDIT_PNPM_ID_INVALID":{"value":"'%s.id must be a non-negative integer'","description":"Pnpm parser detail when an advisory id is invalid."},"AUDIT_PNPM_ID_KEY_MISMATCH":{"value":"'%s.id must match its advisory key'","description":"Pnpm parser detail when an advisory id differs from its key."},"AUDIT_PNPM_METADATA_COUNT_MISMATCH":{"value":"'metadata vulnerability counts must equal the advisory entries'","description":"Pnpm parser detail when metadata counts differ from the entries."},"AUDIT_REPORT_ERROR_DOCUMENT":{"value":"'the manager returned an error document'","description":"Parser detail when the manager returned an error document."},"AUDIT_REPORT_JSON_INVALID":{"value":"'invalid JSON'","description":"Parser detail when the report is not valid JSON."},"AUDIT_REPORT_JSON_OBJECT_EXPECTED":{"value":"'expected a JSON object'","description":"Parser detail when the report is not a JSON object."},"AUDIT_REPORT_SIZE_LIMIT_EXCEEDED":{"value":"'the report exceeds the 16 MiB safety limit'","description":"Parser detail when the report exceeds the size limit."},"AUDIT_SEVERITY_TOTAL_MISMATCH":{"value":"'%s.vulnerabilities.total must equal the severity counts'","description":"Parser detail when the severity total differs from the sum of counts."},"AUDIT_SUCCESS_STATUS_WITH_FINDINGS":{"value":"'The %s audit report contains vulnerabilities but the manager returned ' . 'a successful status.'","description":"Error when a successful exit status accompanies reported vulnerabilities."},"AUDIT_VALUE_CVE_INVALID":{"value":"'%s contains an invalid CVE identifier'","description":"Parser detail when a value contains an invalid CVE identifier."},"AUDIT_VALUE_EMPTY":{"value":"'%s must not be empty'","description":"Parser detail when a value is empty."},"AUDIT_VALUE_LIST_REQUIRED":{"value":"'%s must be a list'","description":"Parser detail when a value is not a list."},"AUDIT_VALUE_OBJECT_REQUIRED":{"value":"'%s must be an object'","description":"Parser detail when a value is not an object."},"AUDIT_VALUE_SEVERITY_UNSUPPORTED":{"value":"'%s has an unsupported severity'","description":"Parser detail when a severity is unsupported."},"AUDIT_VALUE_STRING_OR_INTEGER_REQUIRED":{"value":"'%s must be a string or integer'","description":"Parser detail when a value is neither a string nor an integer."},"AUDIT_VALUE_STRINGS_ONLY":{"value":"'%s must contain only strings'","description":"Parser detail when a list contains non-string items."},"AUDIT_YARN_LINE_JSON_INVALID":{"value":"'line %d contains invalid JSON'","description":"Yarn parser detail when a line is not valid JSON."},"AUDIT_YARN_LINE_NOT_FINDING":{"value":"'line %d is not an audit finding'","description":"Yarn parser detail when a line is not an audit finding."},"COMMAND_CAPABILITY_ARGUMENTS_INVALID":{"value":"'Composer provided invalid Foxy command capability arguments.'","description":"Error when Composer passes invalid command capability arguments."},"CONFIG_ENV_JSON_INVALID":{"value":"'The \"%s\" environment variable isn\\'t valid JSON.'","description":"Error when an environment variable does not contain valid JSON."},"CURRENT_WORKING_DIRECTORY_UNAVAILABLE":{"value":"'Unable to get the current working directory.'","description":"Error when the current working directory cannot be determined."},"FALLBACK_ASSET_PATH_NOT_FILE":{"value":"'The fallback asset path \"%s\" must be a regular file.'","description":"Error when the fallback asset path is not a regular file."},"FALLBACK_ASSET_READ_FAILED":{"value":"'Unable to read fallback asset file \"%s\".'","description":"Error when the fallback asset file cannot be read."},"FALLBACK_ASSET_REMOVE_FAILED":{"value":"'Unable to remove fallback asset file \"%s\".'","description":"Error when the fallback asset file cannot be removed."},"FALLBACK_ASSET_WRITE_FAILED":{"value":"'Unable to write fallback asset file \"%s\".'","description":"Error when the fallback asset file cannot be written."},"FALLBACK_COMPOSER_REMOVE_FAILED":{"value":"'Unable to remove Composer fallback path \"%s\".'","description":"Error when a Composer fallback path cannot be removed."},"FALLBACK_COMPOSER_RESTORE_FAILED":{"value":"'Unable to restore Composer dependencies, installer exited with code %d.'","description":"Error when the Composer installer fails during restoration."},"FOXY_AUDIT_DISABLED":{"value":"'Foxy is disabled; frontend dependencies cannot be audited.'","description":"Error when an audit is requested while Foxy is disabled."},"JSON_FILE_UNREADABLE":{"value":"'Unable to read JSON file \"%s\".'","description":"Error when a JSON file cannot be read."},"NATIVE_EXTENSION_MISSING":{"value":"'The native manager requires the \"%s\" PHP extension.'","description":"Error when a PHP extension required by the native manager is not loaded."},"NATIVE_INSTALL_DIR_INVALID":{"value":"'The native install directory \"%s\" must not be the root package directory, one of ' . 'its parents, or a filesystem root.'","description":"Error when the native install directory would make the installer prune the project."},"NATIVE_INSTALL_DIR_OVERLAPS_LOCAL":{"value":"'The native install directory \"%s\" overlaps the local package \"%s\" at \"%s\".'","description":"Error when a local package directory is the native install directory, lies under it, or contains it."},"NATIVE_INTEGRITY_MISMATCH":{"value":"'The tarball \"%s\" failed its integrity check.'","description":"Error when a downloaded tarball does not match its integrity hash."},"NATIVE_LOCAL_PACKAGE_MISSING":{"value":"'The local package \"%s\" of \"%s\" has no package.json.'","description":"Error when a `file:` dependency directory has no `package.json`."},"NATIVE_LOCAL_VERSION_CONFLICT":{"value":"'The local package \"%s\" (%s) does not satisfy %s; install it with npm, pnpm, ' . 'Yarn, Bun, or Deno.'","description":"Error when a requirement rejects the version of a local package."},"NATIVE_LOCK_INVALID":{"value":"'The lock file \"%s\" is malformed; delete it and run the installation again.'","description":"Error when the native manager lock file is malformed."},"NATIVE_MANIFEST_DEPENDENCIES_INVALID":{"value":"'The \"%s\" field of \"%s\" must map package names to version strings.'","description":"Error when a manifest dependency field does not map package names to version strings."},"NATIVE_METADATA_INVALID":{"value":"'The registry metadata of \"%s\" is malformed: %s.'","description":"Error when the registry metadata of a package is malformed."},"NATIVE_METADATA_REASON_DIST_HASH_REQUIRED":{"value":"'%s must declare dist.integrity or dist.shasum'","description":"Reason fragment when a registry version declares neither `dist.integrity` nor `dist.shasum`."},"NATIVE_METADATA_REASON_JSON_INVALID":{"value":"'the document is not valid JSON'","description":"Reason fragment when the registry metadata document is not valid JSON."},"NATIVE_METADATA_REASON_OBJECT_REQUIRED":{"value":"'%s must be a JSON object'","description":"Reason fragment when a registry metadata member is not an object."},"NATIVE_METADATA_REASON_STRING_MAP_REQUIRED":{"value":"'%s must map names to strings'","description":"Reason fragment when a registry metadata member does not map names to strings."},"NATIVE_METADATA_REASON_STRING_REQUIRED":{"value":"'%s must be a string'","description":"Reason fragment when a registry metadata member is not a non-empty string."},"NATIVE_PACKAGE_COPY_FAILED":{"value":"'Unable to copy the local package \"%s\" to \"%s\".'","description":"Error when a local `file:` package cannot be copied into `node_modules`."},"NATIVE_PACKAGE_NOT_FOUND":{"value":"'The package \"%s\" was not found in the registry \"%s\".'","description":"Error when the registry does not know a package."},"NATIVE_PACKAGE_REMOVE_FAILED":{"value":"'Unable to remove the package directory \"%s\".'","description":"Error when an installed package directory cannot be removed."},"NATIVE_RANGE_INVALID":{"value":"'The version \"%s\" of \"%s\" is neither a valid npm range nor a dist-tag.'","description":"Error when a dependency version is neither a valid npm range nor a dist-tag."},"NATIVE_REGISTRY_REQUEST_FAILED":{"value":"'The registry request \"%s\" failed: %s'","description":"Error when a registry request fails."},"NATIVE_SPEC_UNSUPPORTED":{"value":"'The native manager does not support the \"%s\" specification of \"%s\"; use npm, pnpm, ' . 'Yarn, Bun, or Deno.'","description":"Error when a dependency uses a specification the native manager does not support."},"NATIVE_TARBALL_INVALID":{"value":"'The tarball \"%s\" cannot be extracted: %s.'","description":"Error when a tarball cannot be extracted."},"NATIVE_TARBALL_REASON_ENTRY_ESCAPES":{"value":"'the entry \"%s\" escapes the package directory'","description":"Reason fragment when a tarball entry resolves outside the package directory."},"NATIVE_TARBALL_REASON_NOT_USTAR":{"value":"'the archive is not a valid ustar archive'","description":"Reason fragment when a tarball header fails the ustar magic or checksum check."},"NATIVE_TARBALL_REASON_TRUNCATED":{"value":"'the archive is truncated'","description":"Reason fragment when a tarball ends inside a header or a data block."},"NATIVE_TARBALL_REASON_UNREADABLE":{"value":"'the archive cannot be opened'","description":"Reason fragment when a tarball cannot be opened as a gzip stream."},"NATIVE_TARBALL_REASON_WRITE_FAILED":{"value":"'the entry \"%s\" cannot be written'","description":"Reason fragment when a tarball entry cannot be written to disk."},"NATIVE_VERSION_CONFLICT":{"value":"'No version of \"%s\" satisfies %s; install it with npm, pnpm, Yarn, Bun, or Deno.'","description":"Error when no registry version satisfies every accumulated constraint of a package."},"SOLVER_ASSET_DIR_CREATE_FAILED":{"value":"'Unable to create Composer asset directory \"%s\".'","description":"Error when the Composer asset directory cannot be created."},"SOLVER_ASSET_DIR_EMPTY":{"value":"'The Composer asset directory must not be empty.'","description":"Error when the Composer asset directory is empty."},"SOLVER_ASSET_DIR_INSPECT_FAILED":{"value":"'Unable to inspect Composer asset directory \"%s\".'","description":"Error when the Composer asset directory cannot be inspected."},"SOLVER_ASSET_DIR_IS_ROOT":{"value":"'The Composer asset directory must not be a filesystem root.'","description":"Error when the Composer asset directory is a filesystem root."},"SOLVER_ASSET_DIR_MARK_FAILED":{"value":"'Unable to mark Composer asset directory \"%s\".'","description":"Error when the ownership marker cannot be written."},"SOLVER_ASSET_DIR_NOT_STRING":{"value":"'The Composer asset directory must be a string.'","description":"Error when \"composer-asset-dir\" is not a string."},"SOLVER_ASSET_DIR_OVERLAPS_PROTECTED":{"value":"'The Composer asset directory \"%s\" overlaps a protected project path.'","description":"Error when the asset directory overlaps a protected path."},"SOLVER_ASSET_DIR_RESET_FAILED":{"value":"'Unable to reset Composer asset directory \"%s\".'","description":"Error when the asset directory cannot be reset."},"SOLVER_ASSET_DIR_SYMLINK":{"value":"'The Composer asset directory \"%s\" must not be a symbolic link.'","description":"Error when the asset directory is a symbolic link."},"SOLVER_ASSET_DIR_UNMANAGED":{"value":"'The Composer asset directory \"%s\" is not marked as managed by Foxy.'","description":"Error when a non-empty asset directory is not managed by Foxy."},"SOLVER_ASSET_FALLBACK_RESTORE_FAILED":{"value":"'The asset manager failed and its fallback could not be restored: %s'","description":"Error when restoring the asset fallback after an asset manager failure also fails."},"SOLVER_ASSET_MANAGER_FAILED":{"value":"'The asset manager ended with error code %d.'","description":"Error when the asset manager ends with a non-zero code."},"SOLVER_ASSET_PATH_NOT_DIRECTORY":{"value":"'The Composer asset path \"%s\" is not a directory.'","description":"Error when the asset path exists but is not a directory."},"SOLVER_COMPOSER_FALLBACK_RESTORE_FAILED":{"value":"'Asset solving failed and Composer fallback restoration failed: %s'","description":"Error when Composer fallback restoration fails after a solve failure."},"SOLVER_MANIFEST_READ_FAILED":{"value":"'Unable to read asset manifest \"%s\".'","description":"Error when an asset manifest cannot be read."},"SOLVER_MANIFEST_WRITE_FAILED":{"value":"'Unable to write asset manifest \"%s\".'","description":"Error when an asset manifest cannot be written."},"SOLVER_PACKAGE_DIR_CREATE_FAILED":{"value":"'Unable to create asset directory \"%s\".'","description":"Error when a package asset directory cannot be created."},"SOLVER_PATH_RESOLVE_FAILED":{"value":"'Unable to resolve path \"%s\".'","description":"Error when a path cannot be resolved."},"UTIL_ASSET_PACKAGE_PATH_ESCAPES":{"value":"'The asset package path \"%s\" escapes its Composer install directory.'","description":"Error when an asset package path escapes its install directory."},"UTIL_COMPOSER_PACKAGE_FILE_UNREADABLE":{"value":"'Unable to read Composer package file \"%s\".'","description":"Error when a Composer package file cannot be read."},"UTIL_COMPOSER_VERSION_UNSUPPORTED":{"value":"'Foxy requires Composer \"%s\", but the current version is \"%s\".'","description":"Error when the Composer version is below the minimum."}},"methods":{"getMessage":{"signature":"public function getMessage(int|string ...$argument): string","summary":"Returns the formatted message string for the error case.","params":[{"name":"$argument","type":"int|string","optional":true,"variadic":true,"description":"Values to insert into the message template."}],"return":{"type":"string","description":"Formatted error message with interpolated arguments."}}}},"Foxy\\Exception\\RuntimeException":{"kind":"class","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/exception/runtimeexception/","summary":"Represents a runtime failure in Foxy.","extends":"RuntimeException","implements":["Foxy\\Exception\\ExceptionInterface"]},"Foxy\\Fallback\\AssetFallback":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/fallback/assetfallback/","summary":"Restores an asset manifest to the state captured before dependency solving.","implements":["Foxy\\Fallback\\FallbackInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\IO\\IOInterface $io, Foxy\\Config\\Config $config, string $path, Composer\\Util\\Filesystem|null $fs = null)","summary":"Creates a fallback for one asset manifest path.","params":[{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Composer I/O used to report restoration."},{"name":"$config","type":"Foxy\\Config\\Config","description":"Foxy configuration controlling asset fallback."},{"name":"$path","type":"string","description":"Asset manifest path to snapshot."},{"name":"$fs","type":"Composer\\Util\\Filesystem|null","default":"null","optional":true,"description":"Filesystem implementation, or `null` to create the Composer default."}]},"restore":{"signature":"public function restore(): void","summary":"Restores the captured manifest, or removes it when Foxy created it.","return":{"type":"void"}},"save":{"signature":"public function save(): self","summary":"Captures the current manifest state when asset fallback is enabled.","return":{"type":"self"}}}},"Foxy\\Fallback\\ComposerFallback":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/fallback/composerfallback/","summary":"Restores Composer's lock file and installed dependencies after an asset failure.","implements":["Foxy\\Fallback\\FallbackInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\Composer $composer, Composer\\IO\\IOInterface $io, Foxy\\Config\\Config $config, Symfony\\Component\\Console\\Input\\InputInterface $input, Composer\\Util\\Filesystem|null $fs = null, Composer\\Installer|null $installer = null)","summary":"Creates a Composer state fallback.","params":[{"name":"$composer","type":"Composer\\Composer","description":"The composer."},{"name":"$io","type":"Composer\\IO\\IOInterface","description":"The IO."},{"name":"$config","type":"Foxy\\Config\\Config","description":"The config."},{"name":"$input","type":"Symfony\\Component\\Console\\Input\\InputInterface","description":"The input."},{"name":"$fs","type":"Composer\\Util\\Filesystem|null","default":"null","optional":true,"description":"The composer filesystem."},{"name":"$installer","type":"Composer\\Installer|null","default":"null","optional":true,"description":"The installer."}]},"restore":{"signature":"public function restore(): void","summary":"Restores the captured Composer state.","return":{"type":"void"},"throws":[{"type":"Exception"}]},"save":{"signature":"public function save(): self","summary":"Captures the lock file and vendor-directory state when Composer fallback is enabled.","return":{"type":"self"}}}},"Foxy\\Fallback\\FallbackInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/fallback/fallbackinterface/","summary":"Captures and restores state around asset dependency solving.","methods":{"restore":{"signature":"abstract public function restore(): void","summary":"Restore the state.","return":{"type":"void"},"abstract":true},"save":{"signature":"abstract public function save(): self","summary":"Save the state.","return":{"type":"self"},"abstract":true}}},"Foxy\\Foxy":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/foxy/","summary":"Integrates frontend dependency managers with Composer's install and update lifecycle.","implements":["Composer\\Plugin\\PluginInterface","Composer\\EventDispatcher\\EventSubscriberInterface","Composer\\Plugin\\Capable","Foxy\\Audit\\AuditRunnerInterface"],"methods":{"activate":{"signature":"public function activate(Composer\\Composer $composer, Composer\\IO\\IOInterface $io): void","summary":"Initializes Foxy for the active Composer project.","params":[{"name":"$composer","type":"Composer\\Composer"},{"name":"$io","type":"Composer\\IO\\IOInterface"}],"return":{"type":"void"},"throws":[{"type":"Seld\\JsonLint\\ParsingException"}]},"audit":{"signature":"public function audit(Foxy\\Audit\\AuditRequest $request): Foxy\\Audit\\AuditReport","summary":"Audits the asset dependencies through the selected manager.","params":[{"name":"$request","type":"Foxy\\Audit\\AuditRequest"}],"return":{"type":"Foxy\\Audit\\AuditReport"}},"deactivate":{"signature":"public function deactivate(Composer\\Composer $composer, Composer\\IO\\IOInterface $io): void","summary":"Handles plugin deactivation; Foxy keeps no deactivation state.","params":[{"name":"$composer","type":"Composer\\Composer"},{"name":"$io","type":"Composer\\IO\\IOInterface"}],"return":{"type":"void"}},"getCapabilities":{"signature":"public function getCapabilities(): array","summary":"Declares Foxy's Composer command-provider capability.","return":{"type":"array"}},"getSubscribedEvents":{"signature":"public static function getSubscribedEvents(): array","summary":"Returns the Composer events that initialize and run asset solving.","return":{"type":"array"},"static":true},"init":{"signature":"public function init(): void","summary":"Init the plugin.","return":{"type":"void"}},"initOnInstall":{"signature":"public function initOnInstall(Composer\\Installer\\PackageEvent $event): void","summary":"Init the plugin just after the first installation.","params":[{"name":"$event","type":"Composer\\Installer\\PackageEvent","description":"The package event"}],"return":{"type":"void"}},"setSolver":{"signature":"public function setSolver(Foxy\\Solver\\SolverInterface $solver): void","summary":"Replaces the solver used for Composer lifecycle events.","params":[{"name":"$solver","type":"Foxy\\Solver\\SolverInterface","description":"The solver instance."}],"return":{"type":"void"}},"solveAssets":{"signature":"public function solveAssets(Composer\\Script\\Event $event): void","summary":"Solves asset dependencies for the current Composer install or update event.","params":[{"name":"$event","type":"Composer\\Script\\Event","description":"The composer script event."}],"return":{"type":"void"}},"uninstall":{"signature":"public function uninstall(Composer\\Composer $composer, Composer\\IO\\IOInterface $io): void","summary":"Handles plugin removal; Foxy keeps no plugin-specific uninstall state.","params":[{"name":"$composer","type":"Composer\\Composer"},{"name":"$io","type":"Composer\\IO\\IOInterface"}],"return":{"type":"void"}}},"constants":{"REQUIRED_COMPOSER_VERSION":{"value":"'^2.10.2'"}}},"Foxy\\FoxyEvents":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/foxyevents/","summary":"Defines the lifecycle events dispatched while Foxy solves asset dependencies.","constants":{"GET_ASSETS":{"value":"'foxy.get-assets'","description":"The `GET_ASSETS` event is triggered before the `solve` action of asset packages and while retrieving the map of the asset packages."},"POST_SOLVE":{"value":"'foxy.post-solve'","description":"The `POST_SOLVE` event is triggered after the `solve` action of asset packages and before the execution of the composer's fallback."},"PRE_SOLVE":{"value":"'foxy.pre-solve'","description":"The `PRE_SOLVE` event is triggered before the `solve` action of asset packages."}}},"Foxy\\Json\\JsonFile":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/json/jsonfile/","summary":"Preserves empty arrays and objects while reading and writing package manifests.","extends":"Composer\\Json\\JsonFile","methods":{"encode":{"signature":"public static function encode(mixed $data, int $options = \\self::DEFAULT_OPTIONS, string $indent = \\self::INDENT_DEFAULT): string","summary":"Encode package manifest data as JSON.","params":[{"name":"$data","type":"mixed"},{"name":"$options","type":"int","default":"\\self::DEFAULT_OPTIONS","optional":true},{"name":"$indent","type":"string","default":"\\self::INDENT_DEFAULT","optional":true}],"return":{"type":"string"},"static":true},"getArrayKeys":{"signature":"public function getArrayKeys(): array","summary":"Get the list of keys to be retained with an array representation if they are empty.","return":{"type":"array"}},"read":{"signature":"public function read(): array","summary":"Reads the JSON document and records how its empty containers are represented.","return":{"type":"array"}},"write":{"signature":"public function write(array $hash, int $options = \\self::DEFAULT_OPTIONS): void","summary":"Writes package data while preserving empty-array keys from the original document.","params":[{"name":"$hash","type":"array"},{"name":"$options","type":"int","default":"\\self::DEFAULT_OPTIONS","optional":true}],"return":{"type":"void"}}}},"Foxy\\Json\\JsonFormatter":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/json/jsonformatter/","summary":"Formats JSON while retaining selected empty containers as arrays.","methods":{"format":{"signature":"public static function format(string $json, string[] $arrayKeys = [], int $indent = \\self::DEFAULT_INDENT, bool $formatJson = true): string","summary":"Format the data in JSON.","params":[{"name":"$json","type":"string","description":"The original JSON."},{"name":"$arrayKeys","type":"string[]","default":"[]","optional":true,"description":"The list of keys to be retained with an array representation if they are empty."},{"name":"$indent","type":"int","default":"\\self::DEFAULT_INDENT","optional":true,"description":"The space count for indent."},{"name":"$formatJson","type":"bool","default":"true","optional":true,"description":"Check if the JSON must be formatted."}],"return":{"type":"string"},"throws":[{"type":"JsonException","description":"if the JSON cannot be decoded or encoded."}],"static":true},"getArrayKeys":{"signature":"public static function getArrayKeys(string $content): array","summary":"Get the list of keys to be retained with an array representation if they are empty.","params":[{"name":"$content","type":"string","description":"The content."}],"return":{"type":"array"},"static":true},"getMapKeys":{"signature":"public static function getMapKeys(string $content): array","summary":"Get the keys that were represented as empty JSON objects.","params":[{"name":"$content","type":"string"}],"return":{"type":"array"},"static":true}},"constants":{"ARRAY_KEYS_REGEX":{"value":"'/[\"\\']([\\w\\-.]+)[\"\\']\\s*:\\s*\\[\\s*]/'"},"DEFAULT_INDENT":{"value":"4"},"MAP_KEYS_REGEX":{"value":"'/[\"\\']([\\w\\-.]+)[\"\\']\\s*:\\s*\\{\\s*}/'"}}},"Foxy\\Native\\DependencyResolver":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/dependencyresolver/","summary":"Resolves npm requirements into one version per package (flat `node_modules`) against an npm registry.","methods":{"__construct":{"signature":"public function __construct(Foxy\\Native\\NpmRegistryInterface $registry, Composer\\IO\\IOInterface $io)","summary":"Creates a resolver backed by the npm registry.","params":[{"name":"$registry","type":"Foxy\\Native\\NpmRegistryInterface","description":"Registry that provides the package metadata."},{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Output that receives the deprecation and skipped-dependency warnings."}]},"resolve":{"signature":"public function resolve(list<Foxy\\Native\\Requirement> $requirements, array<string, Foxy\\Native\\LocalPackage> $locals = []): array<string, Foxy\\Native\\ResolvedPackage>","summary":"Resolves the requirements and their transitive dependencies.","params":[{"name":"$requirements","type":"list<Foxy\\Native\\Requirement>","description":"Root requirements; a root `file:` requirement selects the local package of the same name."},{"name":"$locals","type":"array<string, Foxy\\Native\\LocalPackage>","default":"[]","optional":true,"description":"Local (`file:`) packages keyed by name. A selected local package is never fetched: later requirements are checked against its version, and an optional one is dropped, with its subtree, when a mandatory requirement rejects its version."}],"return":{"type":"array<string, Foxy\\Native\\ResolvedPackage>","description":"Selected registry and local packages keyed and sorted by name."},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if a mandatory requirement uses an unsupported protocol, an invalid range, has no version satisfying its mandatory constraints, would return to a version abandoned twice, rejects the version of a local package, or the registry fails."}]}}},"Foxy\\Native\\InstalledState":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/installedstate/","summary":"Reads and writes the hidden state file of an install directory: the lock entry of every package the last successful native installation left in place, the counterpart of npm's `node_modules/.package-lock.json`.","methods":{"__construct":{"signature":"public function __construct(string $path, Composer\\IO\\IOInterface $io)","summary":"Creates an installed-state store for one native install directory.","params":[{"name":"$path","type":"string","description":"State file path."},{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Output for the verbose notice of a malformed file."}]},"read":{"signature":"public function read(): array<array-key, array<string, string>>","summary":"Returns the recorded lock entries keyed by package name, in the shape of `Foxy\\Native\\ResolvedPackage::toLock()`.","return":{"type":"array<array-key, array<string, string>>"}},"write":{"signature":"public function write(array<array-key, array<string, string>> $entries): void","summary":"Writes the state file as `{\"packages\": {...}}`, with the names sorted byte-wise.","params":[{"name":"$entries","type":"array<array-key, array<string, string>>","description":"Lock entries keyed by package name."}],"return":{"type":"void"}}}},"Foxy\\Native\\LocalPackage":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/localpackage/","summary":"Represents a local `file:` package of the root manifest as the resolver selects it: a fixed version and the requirements its own manifest declares.","properties":{"name":{"type":"string","description":"Package name, the source of its requirements.","readonly":true,"promoted":true},"path":{"type":"string","description":"Local package directory: the manifest's `file:` value without the prefix, as written.","readonly":true,"promoted":true},"requirements":{"type":"list<Foxy\\Native\\Requirement>","description":"Dependencies, non-optional peers, and optional dependencies it declares.","readonly":true,"promoted":true},"version":{"type":"string","description":"Version declared by its `package.json` (`0.0.0` when absent).","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $name, string $version, string $path, list<Foxy\\Native\\Requirement> $requirements)","summary":"Describes a local package selected by the native resolver.","params":[{"name":"$name","type":"string","description":"Package name, the source of its requirements."},{"name":"$version","type":"string","description":"Version declared by its `package.json` (`0.0.0` when absent)."},{"name":"$path","type":"string","description":"Local package directory: the manifest's `file:` value without the prefix, as written."},{"name":"$requirements","type":"list<Foxy\\Native\\Requirement>","description":"Dependencies, non-optional peers, and optional dependencies it declares."}]}}},"Foxy\\Native\\LockFile":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/lockfile/","summary":"Reads and writes `foxy.lock`: the requirements fingerprint and the packages installed by the native manager.","methods":{"__construct":{"signature":"public function __construct(string $path)","summary":"Creates a native dependency lock-file store.","params":[{"name":"$path","type":"string","description":"Lock file path."}]},"exists":{"signature":"public function exists(): bool","summary":"Returns whether the lock file exists.","return":{"type":"bool"}},"read":{"signature":"public function read(): array{requirements: Foxy\\Native\\Fingerprint, packages: array<array-key, Foxy\\Native\\ResolvedPackage>}","summary":"Returns the requirements fingerprint and the locked packages.","return":{"type":"array{requirements: Foxy\\Native\\Fingerprint, packages: array<array-key, Foxy\\Native\\ResolvedPackage>}"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the file is not valid JSON, does not have the lock file shape, or keys a requirement or a package by an invalid package name."}]},"write":{"signature":"public function write(Foxy\\Native\\Fingerprint $requirements, array<array-key, Foxy\\Native\\ResolvedPackage> $packages): void","summary":"Writes the lock file with its maps sorted by key as strings.","params":[{"name":"$requirements","type":"Foxy\\Native\\Fingerprint","description":"Specifications keyed by source (`''` for the root manifest, the local package name otherwise), then by kind, then by package name; a local source also carries its `version`, written first."},{"name":"$packages","type":"array<array-key, Foxy\\Native\\ResolvedPackage>","description":"Packages keyed by name."}],"return":{"type":"void"}}}},"Foxy\\Native\\NativeInstaller":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/nativeinstaller/","summary":"Installs the frontend dependencies of a `package.json` into a flat directory (`node_modules` by default) without a Node.js package manager.","implements":["Foxy\\Native\\NativeInstallerInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\IO\\IOInterface $io, Composer\\Util\\Filesystem $fs, Foxy\\Native\\NpmRegistryInterface $registry, Foxy\\Native\\DependencyResolver $resolver, Foxy\\Native\\TarballExtractor $extractor)","summary":"Creates the native package installer.","params":[{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Output that receives one line per changed package, and per kept package at verbose level."},{"name":"$fs","type":"Composer\\Util\\Filesystem","description":"Filesystem used to copy, move, and remove package directories."},{"name":"$registry","type":"Foxy\\Native\\NpmRegistryInterface","description":"Registry that provides the tarballs."},{"name":"$resolver","type":"Foxy\\Native\\DependencyResolver","description":"Resolver of the registry requirements."},{"name":"$extractor","type":"Foxy\\Native\\TarballExtractor","description":"Extractor of the downloaded tarballs."}]},"install":{"signature":"public function install(string $manifestPath, string $lockPath, string $installDirectory, bool $update): void","summary":"Installs the dependencies declared by the manifest, reading or rewriting the lock file.","params":[{"name":"$manifestPath","type":"string","description":"Path of the root `package.json`."},{"name":"$lockPath","type":"string","description":"Path of the `foxy.lock` file."},{"name":"$installDirectory","type":"string","description":"Path of the directory to populate (`node_modules` by default)."},{"name":"$update","type":"bool","description":"Whether to resolve again even when the lock file is fresh."}],"return":{"type":"void"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if a manifest is invalid, a mandatory local package is missing, a local package overlaps the install directory, a requirement cannot be resolved or downloaded, the lock file is malformed, a local package cannot be copied, or an existing package directory cannot be removed."}]}}},"Foxy\\Native\\NativeInstallerInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/nativeinstallerinterface/","summary":"Installs the frontend dependencies of a manifest into a flat directory without a Node.js package manager.","methods":{"install":{"signature":"abstract public function install(string $manifestPath, string $lockPath, string $installDirectory, bool $update): void","summary":"Installs the dependencies declared by the manifest, reading or rewriting the lock file.","params":[{"name":"$manifestPath","type":"string","description":"Path of the root `package.json`."},{"name":"$lockPath","type":"string","description":"Path of the `foxy.lock` file."},{"name":"$installDirectory","type":"string","description":"Path of the directory to populate (`node_modules` by default)."},{"name":"$update","type":"bool","description":"Whether to resolve again even when the lock file is fresh."}],"return":{"type":"void"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if a requirement cannot be resolved, downloaded, or installed."}],"abstract":true}}},"Foxy\\Native\\NpmRange":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/npmrange/","summary":"Represents an npm version range evaluated with npm semantics on top of Composer's constraint engine.","implements":["Stringable"],"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Returns the original npm range, trimmed.","return":{"type":"string"}},"parse":{"signature":"public static function parse(string $range, string $package): self","summary":"Parses an npm range.","params":[{"name":"$range","type":"string","description":"Npm range, such as `^1.2.3`, `1.x || >=2.1 <3`, or `1.2 - 2.3`."},{"name":"$package","type":"string","description":"Package name used in the error message."}],"return":{"type":"self"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the range is not valid npm syntax or cannot be expressed as a Composer constraint."}],"static":true},"satisfies":{"signature":"public function satisfies(string $version): bool","summary":"Returns whether a version satisfies the range.","params":[{"name":"$version","type":"string","description":"Version as published in the registry, such as `1.2.3` or `1.0.0-beta.1`."}],"return":{"type":"bool"}}}},"Foxy\\Native\\NpmRegistry":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/npmregistry/","summary":"Provides the npm registry access of the native manager: abbreviated metadata, integrity-verified tarballs, and bulk security advisories.","implements":["Foxy\\Native\\NpmRegistryInterface"],"methods":{"__construct":{"signature":"public function __construct(Composer\\Util\\HttpDownloader $httpDownloader, Composer\\Cache $cache, Composer\\IO\\IOInterface $io, string $url = \\self::DEFAULT_URL, Closure(int): void|null $delay = null)","summary":"Creates an npm registry client with cache and retry support.","params":[{"name":"$httpDownloader","type":"Composer\\Util\\HttpDownloader","description":"Downloader that performs the requests; `prefetchTarballs()` needs the async-enabled instance returned by `Composer::getLoop()->getHttpDownloader()`."},{"name":"$cache","type":"Composer\\Cache","description":"Tarball cache."},{"name":"$io","type":"Composer\\IO\\IOInterface","description":"Output for the retry and failed prefetch notices and the very verbose registry traffic."},{"name":"$url","type":"string","default":"\\self::DEFAULT_URL","optional":true,"description":"Registry base URL; a trailing slash is ignored."},{"name":"$delay","type":"Closure(int): void|null","default":"null","optional":true,"description":"Replacement for `sleep()` during the 429 back-off, or `null` to sleep."}]},"fetchTarball":{"signature":"public function fetchTarball(Foxy\\Native\\ResolvedPackage $package, string $directory): string","summary":"Returns the path of a verified `.tgz` written inside the directory, from the cache when possible.","params":[{"name":"$package","type":"Foxy\\Native\\ResolvedPackage","description":"Registry package; its `resolved` and `integrity` values must be set."},{"name":"$directory","type":"string","description":"Existing directory that receives the tarball."}],"return":{"type":"string"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the request fails or the tarball does not match its integrity value."}]},"getAdvisories":{"signature":"public function getAdvisories(array<string, non-empty-list<string>> $versions): string","summary":"Returns the registry's bulk advisories document for the given versions, as the registry wrote it.","params":[{"name":"$versions","type":"array<string, non-empty-list<string>>","description":"Locked versions keyed by package name."}],"return":{"type":"string"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the request fails, including a registry that does not implement the endpoint."}]},"getMetadata":{"signature":"public function getMetadata(string $name): Foxy\\Native\\PackageMetadata","summary":"Returns the abbreviated metadata of a package.","params":[{"name":"$name","type":"string","description":"Package name, scoped names included (`@scope/name`)."}],"return":{"type":"Foxy\\Native\\PackageMetadata"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the package is unknown, the request fails, or the metadata is malformed."}]},"prefetchTarballs":{"signature":"public function prefetchTarballs(list<Foxy\\Native\\ResolvedPackage> $packages, string $directory): void","summary":"Downloads the tarballs missing from the cache in parallel, verifying each before it is cached.","params":[{"name":"$packages","type":"list<Foxy\\Native\\ResolvedPackage>","description":"Registry packages whose tarballs are wanted."},{"name":"$directory","type":"string","description":"Existing directory that holds each tarball while it is verified."}],"return":{"type":"void"}}},"constants":{"DEFAULT_URL":{"value":"'https://registry.npmjs.org'"}}},"Foxy\\Native\\NpmRegistryInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/npmregistryinterface/","summary":"Provides access to an npm registry: package metadata, verified tarballs, and security advisories.","methods":{"fetchTarball":{"signature":"abstract public function fetchTarball(Foxy\\Native\\ResolvedPackage $package, string $directory): string","summary":"Returns the path of a verified `.tgz` written inside the directory.","params":[{"name":"$package","type":"Foxy\\Native\\ResolvedPackage","description":"Registry package whose tarball URL and integrity are used."},{"name":"$directory","type":"string","description":"Existing directory that receives the tarball."}],"return":{"type":"string"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the request fails or the tarball does not match its integrity value."}],"abstract":true},"getAdvisories":{"signature":"abstract public function getAdvisories(array<string, non-empty-list<string>> $versions): string","summary":"Returns the registry's bulk advisories document for the given versions, as the registry wrote it.","params":[{"name":"$versions","type":"array<string, non-empty-list<string>>","description":"Locked versions keyed by package name."}],"return":{"type":"string"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the request fails."}],"abstract":true},"getMetadata":{"signature":"abstract public function getMetadata(string $name): Foxy\\Native\\PackageMetadata","summary":"Returns the abbreviated metadata of a package.","params":[{"name":"$name","type":"string","description":"Package name, scoped names included (`@scope/name`)."}],"return":{"type":"Foxy\\Native\\PackageMetadata"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the package is unknown, the request fails, or the metadata is malformed."}],"abstract":true},"prefetchTarballs":{"signature":"abstract public function prefetchTarballs(list<Foxy\\Native\\ResolvedPackage> $packages, string $directory): void","summary":"Downloads the tarballs missing from the cache in parallel, verifying each before it is cached.","params":[{"name":"$packages","type":"list<Foxy\\Native\\ResolvedPackage>","description":"Registry packages whose tarballs are wanted."},{"name":"$directory","type":"string","description":"Existing directory that holds each tarball while it is verified."}],"return":{"type":"void"},"abstract":true}}},"Foxy\\Native\\PackageMetadata":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/packagemetadata/","summary":"Represents the abbreviated npm registry metadata of a package: its dist-tags and its installable versions.","properties":{"distTags":{"type":"array<string, string>","description":"Dist-tag names mapped to versions.","readonly":true,"promoted":true},"name":{"type":"string","description":"Package name.","readonly":true,"promoted":true},"versions":{"type":"array<string, Foxy\\Native\\PackageVersion>","description":"Versions keyed by version string, limited to the versions that Composer's `Composer\\Semver\\VersionParser` can normalize.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $name, array<string, string> $distTags, array<string, Foxy\\Native\\PackageVersion> $versions)","summary":"Describes the installable versions returned for an npm package.","params":[{"name":"$name","type":"string","description":"Package name."},{"name":"$distTags","type":"array<string, string>","description":"Dist-tag names mapped to versions."},{"name":"$versions","type":"array<string, Foxy\\Native\\PackageVersion>","description":"Versions keyed by version string, limited to the versions that Composer's `Composer\\Semver\\VersionParser` can normalize."}]},"fromDocument":{"signature":"public static function fromDocument(string $name, mixed $document): self","summary":"Creates the metadata from a decoded registry document.","params":[{"name":"$name","type":"string","description":"Package name used in error messages and copied into every version."},{"name":"$document","type":"mixed","description":"Registry document decoded as associative arrays."}],"return":{"type":"self"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the document, its dist-tags, or a normalizable version entry is malformed."}],"static":true},"getDistTag":{"signature":"public function getDistTag(string $tag): string|null","summary":"Returns the version a dist-tag points to, or `null` when the tag is unknown.","params":[{"name":"$tag","type":"string"}],"return":{"type":"string|null"}},"getVersion":{"signature":"public function getVersion(string $version): Foxy\\Native\\PackageVersion|null","summary":"Returns the metadata of a version, or `null` when the version is unknown.","params":[{"name":"$version","type":"string"}],"return":{"type":"Foxy\\Native\\PackageVersion|null"}}}},"Foxy\\Native\\PackageName":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/packagename/","summary":"Validates the package names the native manager reads from manifests, lock files, and registry metadata.","methods":{"isValid":{"signature":"public static function isValid(string $name): bool","summary":"Returns whether the name matches the grammar, which rules out empty parts, path separators outside the scope separator, leading dots, and absolute paths.","params":[{"name":"$name","type":"string"}],"return":{"type":"bool"},"static":true}}},"Foxy\\Native\\PackageVersion":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/packageversion/","summary":"Represents one published version of a registry package as read from the abbreviated npm metadata.","properties":{"dependencies":{"type":"array<array-key, string>","default":"[]","description":"Runtime dependencies keyed by package name.","readonly":true,"promoted":true},"deprecated":{"type":"string|null","default":"null","description":"Deprecation text, or `null` when the version is not deprecated.","readonly":true,"promoted":true},"integrity":{"type":"string","description":"Subresource Integrity value: `dist.integrity`, or `sha1-<base64>` derived from `dist.shasum`.","readonly":true,"promoted":true},"name":{"type":"string","description":"Package name.","readonly":true,"promoted":true},"optionalDependencies":{"type":"array<array-key, string>","default":"[]","description":"Optional dependencies keyed by package name.","readonly":true,"promoted":true},"optionalPeerDependencies":{"type":"list<string>","default":"[]","description":"Peer names whose `peerDependenciesMeta` entry declares `optional: true`.","readonly":true,"promoted":true},"peerDependencies":{"type":"array<array-key, string>","default":"[]","description":"Peer dependencies keyed by package name.","readonly":true,"promoted":true},"tarball":{"type":"string","description":"Tarball URL (`dist.tarball`).","readonly":true,"promoted":true},"version":{"type":"string","description":"Version string, exactly as keyed in the registry `versions` object.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $name, string $version, string $tarball, string $integrity, array<array-key, string> $dependencies = [], array<array-key, string> $peerDependencies = [], array<array-key, string> $optionalDependencies = [], list<string> $optionalPeerDependencies = [], string|null $deprecated = null)","summary":"Describes one installable npm package version.","params":[{"name":"$name","type":"string","description":"Package name."},{"name":"$version","type":"string","description":"Version string, exactly as keyed in the registry `versions` object."},{"name":"$tarball","type":"string","description":"Tarball URL (`dist.tarball`)."},{"name":"$integrity","type":"string","description":"Subresource Integrity value: `dist.integrity`, or `sha1-<base64>` derived from `dist.shasum`."},{"name":"$dependencies","type":"array<array-key, string>","default":"[]","optional":true,"description":"Runtime dependencies keyed by package name."},{"name":"$peerDependencies","type":"array<array-key, string>","default":"[]","optional":true,"description":"Peer dependencies keyed by package name."},{"name":"$optionalDependencies","type":"array<array-key, string>","default":"[]","optional":true,"description":"Optional dependencies keyed by package name."},{"name":"$optionalPeerDependencies","type":"list<string>","default":"[]","optional":true,"description":"Peer names whose `peerDependenciesMeta` entry declares `optional: true`."},{"name":"$deprecated","type":"string|null","default":"null","optional":true,"description":"Deprecation text, or `null` when the version is not deprecated."}]}}},"Foxy\\Native\\Requirement":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/requirement/","summary":"Represents one dependency requirement fed to the native resolver: a package name, its npm specification, and the manifest or package that declared it.","properties":{"name":{"type":"string","description":"Package name, scoped names included (`@scope/name`).","readonly":true,"promoted":true},"optional":{"type":"bool","default":"false","description":"Whether an unsatisfiable requirement is skipped with a warning instead of failing.","readonly":true,"promoted":true},"optionalRoot":{"type":"string|null","default":"null","description":"Selection (`name@version`) of the optional package whose subtree declared the requirement, or `null` outside any optional subtree.","readonly":true,"promoted":true},"source":{"type":"string","description":"Declaring origin: `''` for the root manifest, the local package name, or `name@version`.","readonly":true,"promoted":true},"spec":{"type":"string","description":"Npm specification as written by the declaring manifest (range, version, or dist-tag).","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $name, string $spec, string $source, bool $optional = false, string|null $optionalRoot = null)","summary":"Describes one dependency constraint for the native resolver.","params":[{"name":"$name","type":"string","description":"Package name, scoped names included (`@scope/name`)."},{"name":"$spec","type":"string","description":"Npm specification as written by the declaring manifest (range, version, or dist-tag)."},{"name":"$source","type":"string","description":"Declaring origin: `''` for the root manifest, the local package name, or `name@version`."},{"name":"$optional","type":"bool","default":"false","optional":true,"description":"Whether an unsatisfiable requirement is skipped with a warning instead of failing."},{"name":"$optionalRoot","type":"string|null","default":"null","optional":true,"description":"Selection (`name@version`) of the optional package whose subtree declared the requirement, or `null` outside any optional subtree."}]}}},"Foxy\\Native\\ResolvedPackage":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/resolvedpackage/","summary":"Represents a package chosen for installation: a registry tarball or a local `file:` directory.","properties":{"integrity":{"type":"string|null","default":"null","description":"Subresource Integrity value of a registry package.","readonly":true,"promoted":true},"name":{"type":"string","description":"Package name.","readonly":true,"promoted":true},"path":{"type":"string|null","default":"null","description":"Local package directory: the manifest's `file:` value without the prefix, as written.","readonly":true,"promoted":true},"resolved":{"type":"string|null","default":"null","description":"Tarball URL of a registry package.","readonly":true,"promoted":true},"version":{"type":"string","description":"Installed version.","readonly":true,"promoted":true}},"methods":{"__construct":{"signature":"public function __construct(string $name, string $version, string|null $resolved = null, string|null $integrity = null, string|null $path = null)","summary":"Describes a registry or local package selected for installation.","params":[{"name":"$name","type":"string","description":"Package name."},{"name":"$version","type":"string","description":"Installed version."},{"name":"$resolved","type":"string|null","default":"null","optional":true,"description":"Tarball URL of a registry package."},{"name":"$integrity","type":"string|null","default":"null","optional":true,"description":"Subresource Integrity value of a registry package."},{"name":"$path","type":"string|null","default":"null","optional":true,"description":"Local package directory: the manifest's `file:` value without the prefix, as written."}]},"fromLocal":{"signature":"public static function fromLocal(string $name, string $version, string $path): self","summary":"Creates a local package from a `file:` dependency.","params":[{"name":"$name","type":"string"},{"name":"$version","type":"string"},{"name":"$path","type":"string"}],"return":{"type":"self"},"static":true},"fromRegistry":{"signature":"public static function fromRegistry(Foxy\\Native\\PackageVersion $version): self","summary":"Creates a registry package from the selected version's tarball URL and integrity value.","params":[{"name":"$version","type":"Foxy\\Native\\PackageVersion"}],"return":{"type":"self"},"static":true},"isLocal":{"signature":"public function isLocal(): bool","summary":"Returns whether the package is copied from a local directory instead of downloaded from the registry.","return":{"type":"bool"}},"toLock":{"signature":"public function toLock(): array{version: string, file: string}|array{version: string, resolved: string, integrity: string}","summary":"Returns the package entry written to `foxy.lock`.","return":{"type":"array{version: string, file: string}|array{version: string, resolved: string, integrity: string}"}}}},"Foxy\\Native\\TarballExtractor":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/native/tarballextractor/","summary":"Extracts an npm package tarball (gzip-compressed or plain tar) into a directory, stripping the first path component.","methods":{"__construct":{"signature":"public function __construct(Composer\\Util\\Filesystem $fs)","summary":"Creates a tarball extractor using Composer's filesystem abstraction.","params":[{"name":"$fs","type":"Composer\\Util\\Filesystem","description":"Filesystem used to create directories."}]},"extract":{"signature":"public function extract(string $tarball, string $destination, string $label): void","summary":"Extracts the tarball into the destination directory, creating it first.","params":[{"name":"$tarball","type":"string","description":"Path of the `.tgz` (or plain `.tar`) file."},{"name":"$destination","type":"string","description":"Directory that receives the package contents."},{"name":"$label","type":"string","description":"Name of the tarball used in error messages, the tarball URL in production."}],"return":{"type":"void"},"throws":[{"type":"Foxy\\Exception\\RuntimeException","description":"if the tarball cannot be opened, is not a valid ustar archive, is truncated, holds an entry outside the package directory, or an entry cannot be written."}]}}},"Foxy\\Solver\\Solver":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/solver/solver/","summary":"Merges Composer-provided assets and runs the selected frontend dependency manager.","implements":["Foxy\\Solver\\SolverInterface"],"methods":{"__construct":{"signature":"public function __construct(Foxy\\Asset\\AssetManagerInterface $assetManager, Foxy\\Config\\Config $config, Composer\\Util\\Filesystem $fs, Foxy\\Fallback\\FallbackInterface|null $composerFallback = null, Foxy\\Fallback\\FallbackInterface|null $assetFallback = null)","summary":"Creates the asset dependency solver with optional fallbacks; `null` disables each corresponding rollback path.","params":[{"name":"$assetManager","type":"Foxy\\Asset\\AssetManagerInterface","description":"The asset manager instance."},{"name":"$config","type":"Foxy\\Config\\Config","description":"The config instance."},{"name":"$fs","type":"Composer\\Util\\Filesystem","description":"Filesystem used to prepare the managed asset directory."},{"name":"$composerFallback","type":"Foxy\\Fallback\\FallbackInterface|null","default":"null","optional":true,"description":"The composer fallback instance."},{"name":"$assetFallback","type":"Foxy\\Fallback\\FallbackInterface|null","default":"null","optional":true,"description":"Fallback restored when the asset manager fails to merge the dependencies, throws while running, or returns a non-zero code, or `null` for none."}]},"setUpdatable":{"signature":"public function setUpdatable(mixed $updatable): self","summary":"Allows the selected manager to update existing asset dependencies.","params":[{"name":"$updatable","type":"mixed"}],"return":{"type":"self"}},"solve":{"signature":"public function solve(Composer\\Composer $composer, Composer\\IO\\IOInterface $io): void","summary":"Merges package assets and runs the selected frontend dependency manager.","params":[{"name":"$composer","type":"Composer\\Composer"},{"name":"$io","type":"Composer\\IO\\IOInterface"}],"return":{"type":"void"},"throws":[{"type":"Exception"}]}}},"Foxy\\Solver\\SolverInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/solver/solverinterface/","summary":"Resolves and installs asset dependencies during Composer operations.","methods":{"setUpdatable":{"signature":"abstract public function setUpdatable(bool $updatable): self","summary":"Define if the update action can be used.","params":[{"name":"$updatable","type":"bool","description":"The value of updatable."}],"return":{"type":"self"},"abstract":true},"solve":{"signature":"abstract public function solve(Composer\\Composer $composer, Composer\\IO\\IOInterface $io): void","summary":"Solve the asset dependencies.","params":[{"name":"$composer","type":"Composer\\Composer","description":"The composer instance."},{"name":"$io","type":"Composer\\IO\\IOInterface","description":"The IO instance."}],"return":{"type":"void"},"abstract":true}}},"Foxy\\Util\\AssetUtil":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/util/assetutil/","summary":"Reads and normalizes asset metadata exposed by Composer packages.","methods":{"formatPackage":{"signature":"public static function formatPackage(Composer\\Package\\PackageInterface $package, string $packageName, array $packageValue): array","summary":"Format the asset package.","params":[{"name":"$package","type":"Composer\\Package\\PackageInterface","description":"The composer package instance."},{"name":"$packageName","type":"string","description":"The package name of asset."},{"name":"$packageValue","type":"array","description":"The package value of asset."}],"return":{"type":"array"},"static":true},"getName":{"signature":"public static function getName(Composer\\Package\\PackageInterface $package): string","summary":"Get the name for the asset dependency.","params":[{"name":"$package","type":"Composer\\Package\\PackageInterface","description":"The package instance."}],"return":{"type":"string"},"static":true},"getPath":{"signature":"public static function getPath(Composer\\Installer\\InstallationManager $installationManager, Foxy\\Asset\\AssetManagerInterface $assetManager, Composer\\Package\\PackageInterface $package, array $configPackages = []): string|null","summary":"Get the path of asset file.","params":[{"name":"$installationManager","type":"Composer\\Installer\\InstallationManager","description":"The installation manager."},{"name":"$assetManager","type":"Foxy\\Asset\\AssetManagerInterface","description":"The asset manager."},{"name":"$package","type":"Composer\\Package\\PackageInterface","description":"The package instance."},{"name":"$configPackages","type":"array","default":"[]","optional":true,"description":"The packages defined in config."}],"return":{"type":"string|null"},"throws":[{"type":"JsonException"}],"static":true},"hasExtraActivation":{"signature":"public static function hasExtraActivation(Composer\\Package\\PackageInterface $package): bool","summary":"Check if foxy is enabled in extra section of package.","params":[{"name":"$package","type":"Composer\\Package\\PackageInterface","description":"The package instance."}],"return":{"type":"bool"},"static":true},"hasPluginDependency":{"signature":"public static function hasPluginDependency(Composer\\Package\\Link[] $requires): bool","summary":"Check if the package contains assets.","params":[{"name":"$requires","type":"Composer\\Package\\Link[]","description":"The requirement links."}],"return":{"type":"bool"},"static":true},"isAsset":{"signature":"public static function isAsset(Composer\\Package\\PackageInterface $package, array $configPackages = []): bool","summary":"Check if the package is available for Foxy.","params":[{"name":"$package","type":"Composer\\Package\\PackageInterface","description":"The package instance."},{"name":"$configPackages","type":"array","default":"[]","optional":true,"description":"The packages defined in config."}],"return":{"type":"bool"},"static":true},"isProjectActivation":{"signature":"public static function isProjectActivation(Composer\\Package\\PackageInterface $package, array $configPackages): bool","summary":"Check if the package is enabled by the project config.","params":[{"name":"$package","type":"Composer\\Package\\PackageInterface","description":"The package instance."},{"name":"$configPackages","type":"array","description":"The packages defined in config."}],"return":{"type":"bool"},"static":true}}},"Foxy\\Util\\ComposerUtil":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/util/composerutil/","summary":"Validates Composer runtime requirements used by Foxy.","methods":{"validateVersion":{"signature":"public static function validateVersion(string $requiredVersion, string $composerVersion): void","summary":"Validate the composer version.","params":[{"name":"$requiredVersion","type":"string","description":"The composer required version."},{"name":"$composerVersion","type":"string","description":"The composer version."}],"return":{"type":"void"},"static":true}}},"Foxy\\Util\\ConsoleUtil":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/util/consoleutil/","summary":"Helper for console.","methods":{"getInput":{"signature":"public static function getInput(Composer\\IO\\IOInterface $io): Symfony\\Component\\Console\\Input\\InputInterface","summary":"Get the console input.","params":[{"name":"$io","type":"Composer\\IO\\IOInterface","description":"The IO"}],"return":{"type":"Symfony\\Component\\Console\\Input\\InputInterface"},"static":true},"getPreferredInstallOptions":{"signature":"public static function getPreferredInstallOptions(Composer\\Config $config, Symfony\\Component\\Console\\Input\\InputInterface $input): array","summary":"Returns preferSource and preferDist values based on the configuration.","params":[{"name":"$config","type":"Composer\\Config","description":"The composer config."},{"name":"$input","type":"Symfony\\Component\\Console\\Input\\InputInterface","description":"The console input"}],"return":{"type":"array"},"static":true}}},"Foxy\\Util\\PackageUtil":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/foxy/reference/util/packageutil/","summary":"Hydrates Composer package records stored in lock data.","methods":{"loadLockPackage":{"signature":"public static function loadLockPackage(Composer\\Package\\Loader\\ArrayLoader $loader, array $lockData, bool $dev = false): array","summary":"Load the packages in the packages section of the locker load data.","params":[{"name":"$loader","type":"Composer\\Package\\Loader\\ArrayLoader","description":"The package loader of composer."},{"name":"$lockData","type":"array","description":"The lock data of locker."},{"name":"$dev","type":"bool","default":"false","optional":true,"description":"Check if the dev packages must be loaded."}],"return":{"type":"array","description":"The lock data"},"static":true},"loadLockPackages":{"signature":"public static function loadLockPackages(array $lockData): array","summary":"Loads the `packages` and `packages-dev` entries of the lock data, leaving every other key unchanged.","params":[{"name":"$lockData","type":"array","description":"The raw lock data, as read from the lock file."}],"return":{"type":"array","description":"The lock data with package entries replaced by package instances."},"static":true}}}}}
