DiagnosticRelatedInformation
in package
Represents a related message and source code location for a diagnostic.
This should be used to point to code locations that cause or are related to a diagnostics, e.g when duplicating a symbol in a scope.
Table of Contents
Properties
- $location : Location
- The location of this related diagnostic information.
- $message : string
- The message of this related diagnostic information.
Methods
- __construct() : mixed
Properties
$location
The location of this related diagnostic information.
public
Location
$location
$message
The message of this related diagnostic information.
public
string
$message
Methods
__construct()
public
__construct(Location $location, string $message) : mixed
Parameters
- $location : Location
- $message : string