# Google API Common Protos Client - Class SourceInfo (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class SourceInfo.

Source information used to create a Service Config

Generated from protobuf message `google.api.SourceInfo`

## Namespace

Google \\ Api

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ source_files` | `array<https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any>` All files used during config generation. |

### getSourceFiles

All files used during config generation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any>` |   |

### setSourceFiles

All files used during config generation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |