function OperationInterface::process
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::process()
- 8.9.x composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::process()
- 11.x composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::process()
Process this scaffold operation.
Parameters
\Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $destination: Scaffold file's destination path.
\Composer\IO\IOInterface $io: IOInterface to write to.
\Drupal\Composer\Plugin\Scaffold\ScaffoldOptions $options: Various options that may alter the behavior of the operation.
Return value
\Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult Result of the scaffolding operation.
3 methods override OperationInterface::process()
- AppendOp::process in composer/
Plugin/ Scaffold/ Operations/ AppendOp.php - ReplaceOp::process in composer/
Plugin/ Scaffold/ Operations/ ReplaceOp.php - SkipOp::process in composer/
Plugin/ Scaffold/ Operations/ SkipOp.php
File
-
composer/
Plugin/ Scaffold/ Operations/ OperationInterface.php, line 37
Class
- OperationInterface
- Interface for scaffold operation objects.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function process(ScaffoldFilePath $destination, IOInterface $io, ScaffoldOptions $options);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.