You are here

public function ScaffoldFileInfo::op in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::op()
  2. 10 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;
}