You are here

public function SkipOp::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::__construct()

SkipOp constructor.

Parameters

string $message: (optional) A custom message to output while skipping.

File

composer/Plugin/Scaffold/Operations/SkipOp.php, line 34

Class

SkipOp
Scaffold operation to skip a scaffold file (do nothing).

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function __construct($message = "  - Skip <info>[dest-rel-path]</info>: disabled") {
  $this->message = $message;
}