class Message (View source)

internal  
 

Determine configuration.

Properties

protected RootPackageInterface $rootPackage

The root package.

protected string $eventName

The name of the event.

protected string[] $messageText

The message to display.

Methods

__construct(RootPackageInterface $root_package, string $event_name)

Construct a Config object.

getText()

No description

string[]
getMessageFromFile(string $file)

Reads the message file as an array.

Details

__construct(RootPackageInterface $root_package, string $event_name)

Construct a Config object.

Parameters

RootPackageInterface $root_package

Composer package object for the root package.

string $event_name

The event name.

getText()

No description

protected string[] getMessageFromFile(string $file)

Reads the message file as an array.

Parameters

string $file

The file to read. Relative paths are relative to the project directory.

Return Value

string[]