function Message::__construct

Same name and namespace in other branches
  1. 10 composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()
  2. 11.x composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()
  3. 9 composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()
  4. 8.9.x composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()

Construct a Config object.

Parameters

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

string $eventName: The event name.

File

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

Class

Message
Determine configuration.

Namespace

Drupal\Composer\Plugin\ProjectMessage

Code

public function __construct(protected RootPackageInterface $rootPackage, protected $eventName) {
}

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