You are here

public function ScaffoldFileInfo::op in Drupal 9

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

Gets the Scaffold operation.

Return value

\Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface Operations object that handles scaffolding (copy, make symlink, etc).

File

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

Class

ScaffoldFileInfo
Data object that keeps track of one scaffold file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

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