for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Printful\GettextCms\Structures;
/**
* Class represents a single translation message for saving to or receiving from storage
*/
class MessageItem
{
* Unique 32 char identifier for this message, should be used as the unique key
* @var string
public $key = '';
public $locale = '';
public $domain = '';
public $context = '';
public $original = '';
public $translation = '';
* Is translation gone from source
* @var bool
public $isDisabled = false;
public $originalPlural = '';
* List of plural translations
* @var string[]
public $pluralTranslations = [];
* List of pathnames where this translation exists (with line numbers)
* @var array[] [[file, line], ..]
public $references = [];
* Comments from the translator
public $comments = [];
* Comments from programmer (extracted from source code)
public $extractedComments = [];
* @return bool
public function exists(): bool
return !!$this->key;
}