public function ScaffoldFileInfo::packageName in Drupal 9
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::packageName()
- 10 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::packageName()
Gets the package name.
Return value
string The name of the package this scaffold file info was collected from.
1 call to ScaffoldFileInfo::packageName()
- ScaffoldFileInfo::overridden in composer/
Plugin/ Scaffold/ ScaffoldFileInfo.php - Determines if this scaffold file has been overridden by another package.
File
- composer/
Plugin/ Scaffold/ ScaffoldFileInfo.php, line 64
Class
- ScaffoldFileInfo
- Data object that keeps track of one scaffold file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function packageName() {
return $this->destination
->packageName();
}