Interface Yiisoft\Yii\Debug\Collector\CollectorInterface
| Implemented by | Yiisoft\ |
|---|
Debug data collector responsibility is to collect data during application lifecycle.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCollected() | Yiisoft\ |
|
| getName() | Yiisoft\ |
|
| shutdown() | Called once at application shutdown. | Yiisoft\ |
| startup() | Called once at application startup. | Yiisoft\ |
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;
User Contributed Notes
Leave a comment
Join the conversation to share a note.