class ExtendedSourceContext extends Message

An ExtendedSourceContext is a SourceContext combined with additional details describing the context.

Generated from protobuf message google.devtools.source.v1.ExtendedSourceContext

Methods

__construct()

No description

getContext()

Any source context.

$this
setContext(SourceContext $var)

Any source context.

MapField
getLabels()

Labels with user defined metadata.

$this
setLabels(array|MapField $var)

Labels with user defined metadata.

Details

at line 32
__construct()

at line 43
SourceContext getContext()

Any source context.

Generated from protobuf field .google.devtools.source.v1.SourceContext context = 1;

Return Value

SourceContext

at line 55
$this setContext(SourceContext $var)

Any source context.

Generated from protobuf field .google.devtools.source.v1.SourceContext context = 1;

Parameters

SourceContext $var

Return Value

$this

at line 69
MapField getLabels()

Labels with user defined metadata.

Generated from protobuf field map<string, string> labels = 2;

Return Value

MapField

at line 81
$this setLabels(array|MapField $var)

Labels with user defined metadata.

Generated from protobuf field map<string, string> labels = 2;

Parameters

array|MapField $var

Return Value

$this