public function ScaffoldFilePath::packageName in Drupal 10
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/ScaffoldFilePath.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath::packageName()
- 9 composer/Plugin/Scaffold/ScaffoldFilePath.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath::packageName()
Gets the name of the package this source file was pulled from.
Return value
string Name of package.
1 call to ScaffoldFilePath::packageName()
- ScaffoldFilePath::addInterpolationData in composer/
Plugin/ Scaffold/ ScaffoldFilePath.php - Adds data about the relative and full path to the provided interpolator.
File
- composer/
Plugin/ Scaffold/ ScaffoldFilePath.php, line 84
Class
- ScaffoldFilePath
- Manage the path to a file to scaffold.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function packageName() {
return $this->packageName;
}