# Bootstrap

> Registers the yii.filepond message source when the application does not configure it.

[API reference](/docs/api/index.md) › [FilePond](/docs/extensions/filepond/reference/index.md) › Bootstrap

| final class | `yii2\extensions\filepond\Bootstrap` |
| --- | --- |
| Implements | [`yii\base\BootstrapInterface`](/docs/api/yii/base/bootstrapinterface/index.md) |
| Source | [`src/Bootstrap.php`](https://github.com/yii2-extensions/filepond/blob/main/src/Bootstrap.php#L18) |

Registers the `yii.filepond` message source when the application does not configure it.

Composer runs this class automatically through the `extra.bootstrap` entry of the package, so the widget labels are
translated without additional configuration.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`bootstrap()`](#method-bootstrap) |  | `Bootstrap` |

## Method details

### bootstrap() <span id="method-bootstrap"></span>

```php
public function bootstrap(yii\base\Application $app): void
```

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$app` | [`yii\base\Application`](/docs/api/yii/base/application/index.md) | Application being bootstrapped. |