Interface Yiisoft\Yii\Debug\Storage\StorageInterface
| Implemented by | Yiisoft\Yii\Debug\Storage\FileStorage, Yiisoft\Yii\Debug\Storage\MemoryStorage |
|---|
Debug data storage responsibility is to store debug data from collectors added
Public Methods
| Method | Description | Defined By |
|---|---|---|
| clear() | Clear storage data | Yiisoft\Yii\Debug\Storage\StorageInterface |
| read() | Read all data from storage | Yiisoft\Yii\Debug\Storage\StorageInterface |
| write() | Flush data from collectors into storage | Yiisoft\Yii\Debug\Storage\StorageInterface |
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| TYPE_DATA | 'data' | Yiisoft\Yii\Debug\Storage\StorageInterface | |
| TYPE_OBJECTS | 'objects' | Yiisoft\Yii\Debug\Storage\StorageInterface | |
| TYPE_SUMMARY | 'summary' | Yiisoft\Yii\Debug\Storage\StorageInterface |
Method Details
Read all data from storage
| public abstract array read ( string $type, string|null $id ) | ||
| $type | string |
Type of data being read. Available types:
|
| $id | string|null | |
| return | array |
Data from storage |
|---|---|---|
public function read(string $type, ?string $id): array;
Signup or Login in order to comment.