Bootstrap
API reference › Inertia › Bootstrap
Bootstraps response normalization for Yii2 requests carrying the Inertia protocol marker.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
bootstrap() | Registers the adapter and attaches response normalization for Inertia web requests. | Bootstrap |
Method details
Section titled “Method details”bootstrap()
Section titled “bootstrap() ”public function bootstrap(yii\base\Application $app): voidRegisters the adapter and attaches response normalization for Inertia web requests.
Parameters
| Parameter | Type | Description |
|---|---|---|
$app | yii\ |