You are here

public function ScaffoldFileInfo::destination in Drupal 10

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::destination()
  2. 9 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::destination()

Gets the destination.

Return value

\Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath The scaffold path to the destination file.

1 call to ScaffoldFileInfo::destination()
ScaffoldFileInfo::hasChanged in composer/Plugin/Scaffold/ScaffoldFileInfo.php
Returns TRUE if the target does not exist or has changed.

File

composer/Plugin/Scaffold/ScaffoldFileInfo.php, line 74

Class

ScaffoldFileInfo
Data object that keeps track of one scaffold file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function destination() {
  return $this->destination;
}