You are here

public function Message::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()

Construct a Config object.

Parameters

\Composer\Package\RootPackageInterface $root_package: Composer package object for the root package.

string $event_name: The event name.

File

composer/Plugin/ProjectMessage/Message.php, line 43

Class

Message
Determine configuration.

Namespace

Drupal\Composer\Plugin\ProjectMessage

Code

public function __construct(RootPackageInterface $root_package, $event_name) {
  $this->rootPackage = $root_package;
  $this->eventName = $event_name;
}