Bootstrap
API reference › FilePond › Bootstrap
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
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
bootstrap() | Registers the PHP message source of the package unless the category is already configured. | Bootstrap |
Method details
Section titled “Method details”bootstrap()
Section titled “bootstrap() ”public function bootstrap(yii\base\Application $app): voidRegisters the PHP message source of the package unless the category is already configured.
Parameters
| Parameter | Type | Description |
|---|---|---|
$app | yii\ | Application being bootstrapped. |