Interface Yiisoft\Yii\Debug\Collector\CollectorInterface
| Implemented by | Yiisoft\Yii\Debug\Collector\SummaryCollectorInterface, Yiisoft\Yii\Debug\Collector\TimelineCollector |
|---|
Debug data collector responsibility is to collect data during application lifecycle.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCollected() | Yiisoft\Yii\Debug\Collector\CollectorInterface | |
| getName() | Yiisoft\Yii\Debug\Collector\CollectorInterface | |
| shutdown() | Called once at application shutdown. | Yiisoft\Yii\Debug\Collector\CollectorInterface |
| startup() | Called once at application startup. | Yiisoft\Yii\Debug\Collector\CollectorInterface |
Method Details
| public abstract array getCollected ( ) | ||
| return | array |
Data collected. |
|---|---|---|
public function getCollected(): array;
| public abstract string getName ( ) | ||
| return | string |
Collector's name. |
|---|---|---|
public function getName(): string;
Called once at application shutdown.
Cleanup could be done here. Implementation must be idempotent.
| public abstract void shutdown ( ) |
public function shutdown(): void;
Signup or Login in order to comment.