Skip to content
PHP Ecosystem
Explore

Bootstrap

API reference › FilePond › Bootstrap

final classyii2\extensions\filepond\Bootstrap
Implementsyii\base\BootstrapInterface
Sourcesrc/Bootstrap.php

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.

MethodDescriptionDefined by
bootstrap()Registers the PHP message source of the package unless the category is already configured.Bootstrap
public function bootstrap(yii\base\Application $app): void

Registers the PHP message source of the package unless the category is already configured.

Parameters

ParameterTypeDescription
$appyii\base\ApplicationApplication being bootstrapped.