/**
  * Get the message definition. Cached for performance.
  *
  * @return string
  */
 public function getDefinition()
 {
     static $cache = array();
     $key = $this->handle->getTitle()->getPrefixedText();
     if (array_key_exists($key, $cache)) {
         return $cache[$key];
     }
     if (method_exists($this->group, 'getMessageContent')) {
         $cache[$key] = $this->group->getMessageContent($this->handle);
     } else {
         $cache[$key] = $this->group->getMessage($this->handle->getKey(), $this->group->getSourceLanguage());
     }
     return $cache[$key];
 }
 /**
  * Gets the message definition.
  * @return String
  */
 public function getDefinition()
 {
     if ($this->definition !== null) {
         return $this->definition;
     }
     $this->mustBeKnownMessage();
     if (method_exists($this->group, 'getMessageContent')) {
         $this->definition = $this->group->getMessageContent($this->handle, $this->group->getSourceLanguage());
     } else {
         $this->definition = $this->group->getMessage($this->handle->getKey(), $this->group->getSourceLanguage());
     }
     return $this->definition;
 }