Reads the message file as an array.
string $file: The file to read. Relative paths are relative to the project directory.
string[]
protected function getMessageFromFile($file) { return file_exists($file) ? file($file, FILE_IGNORE_NEW_LINES) : []; }