function ScaffoldFileInfo::op

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.