# ToolbarAsset

> Defines the asset bundle for the shared toolbar runtime.

[API reference](/docs/api/index.md) › [Yii3 Debug](/docs/extensions/yii3-debug/reference/index.md) › ToolbarAsset

| final class | `Yii3\Debug\ToolbarAsset` |
| --- | --- |
| Extends | `Yiisoft\Assets\AssetBundle` |
| Source | [`src/ToolbarAsset.php`](https://github.com/yii3/debug/blob/main/src/ToolbarAsset.php#L12) |

Defines the asset bundle for the shared toolbar runtime.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`__construct()`](#method-__construct) | Configures the published paths and the JS asset of the toolbar runtime. | `ToolbarAsset` |

## Constants

| Constant | Value | Description | Defined by |
| --- | --- | --- | --- |
| <span id="const-SOURCE_PATH"></span>`SOURCE_PATH` | `'@vendor/php-forge/debug-core/resources/assets'` | Published source directory of the packaged debugger assets. | `ToolbarAsset` |

## Method details

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

```php
public function __construct()
```

Configures the published paths and the JS asset of the toolbar runtime.