public function ScaffoldFileInfo::process in Drupal 8
Same name and namespace in other branches
- 9 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::process()
- 10 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::process()
Moves a single scaffold file from source to destination.
Parameters
\Composer\IO\IOInterface $io: The scaffold file to be processed.
\Drupal\Composer\Plugin\Scaffold\ScaffoldOptions $options: Assorted operational options, e.g. whether the destination should be a symlink.
Return value
\Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult The scaffold result.
File
- composer/
Plugin/ Scaffold/ ScaffoldFileInfo.php, line 122
Class
- ScaffoldFileInfo
- Data object that keeps track of one scaffold file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function process(IOInterface $io, ScaffoldOptions $options) {
return $this
->op()
->process($this->destination, $io, $options);
}