public static function processMessage ($msg)
  {
    $msg = preg_replace_callback ('#<path>([^<]*)</path>#', function ($m) {
      return ErrorConsole::errorLink ($m[1], 1, 1, self::shortFileName ($m[1]));
    }, $msg);
    return $msg;
  }
public static function processMessage ($msg)
  {
    $msg = preg_replace_callback ('#<path>([^<]*)</path>#', function ($m) {
      return ErrorConsole::errorLink ($m[1], 1, 1, self::shortFileName ($m[1]));
    }, $msg);
    return $msg;
  }
public static function processMessage ( $ msg ) { $ msg = preg_replace_callback ( '#<path>([^<]*)</path>#' , function ( $ m ) { return ErrorConsole :: errorLink ( $ m [ 1 ] , 1 , 1 , self :: shortFileName ( $ m [ 1 ] ) ) ; } , $ msg ) ; return $ msg ; }
For use by renderers.

@param string $msg
@return string
For use by renderers .