function PackageInterface::setInstallationSource
Sets source from which this package was installed (source/dist).
@phpstan-param 'source'|'dist'|null $type
Parameters
?string $type source/dist:
2 methods override PackageInterface::setInstallationSource()
- AliasPackage::setInstallationSource in vendor/
composer/ composer/ src/ Composer/ Package/ AliasPackage.php - Sets source from which this package was installed (source/dist).
- Package::setInstallationSource in vendor/
composer/ composer/ src/ Composer/ Package/ Package.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Package/ PackageInterface.php, line 103
Class
- PackageInterface
- Defines the essential information a package has that is used during solving/installation
Namespace
Composer\PackageCode
public function setInstallationSource(?string $type) : void;