public function OperationInterface::process in Drupal 9
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::process()
- 10 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 - Process this scaffold operation.
- ReplaceOp::process in composer/
Plugin/ Scaffold/ Operations/ ReplaceOp.php - Process this scaffold operation.
- SkipOp::process in composer/
Plugin/ Scaffold/ Operations/ SkipOp.php - Process this scaffold operation.
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);