public function Message::__construct in Drupal 10
Same name and namespace in other branches
- 8 composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()
- 9 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\ProjectMessageCode
public function __construct(RootPackageInterface $root_package, $event_name) {
$this->rootPackage = $root_package;
$this->eventName = $event_name;
}