Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ScaffoldFileInfo.php

function ScaffoldFileInfo::__construct

Constructs a ScaffoldFileInfo object.

Parameters

\Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $destination: The full and relative paths to the destination file and the package defining it.

\Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface $op: Operations object that will handle scaffolding operations.

File

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

Class

ScaffoldFileInfo
Data object that keeps track of one scaffold file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function __construct(ScaffoldFilePath $destination, OperationInterface $op) {
    $this->destination = $destination;
    $this->op = $op;
}
RSS feed
Powered by Drupal