public static function trans($id, $parameters = array(), $domain = 'messages', $locale = null) { return \Illuminate\Translation\Translator::trans($id, $parameters, $domain, $locale); }
protected function validatePattern() { $result = false; if ($this->pattern && strlen($this->value) && !preg_match("~{$this->pattern}~", $this->value)) { $result = Lang::trans('PATTERN_MISMATCH'); } return $result; }