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 |
Method Details
Read all data from storage
| public abstract array read ( string $type, ?string $id ) | ||
| $type | string |
Type of data being read. Available types:
|
| $id | ?string | |
| return | array |
Data from storage |
|---|---|---|
public function read(string $type, ?string $id): array;
Signup or Login in order to comment.