Interface Yiisoft\Yii\Debug\Collector\SummaryCollectorInterface
Summary data collector responsibility is to collect summary data for a collector.
Summary is used to display a list of previous requests and select one to display full info.
Its data set is specific to the list and is reduced compared to full data collected
in {@see \
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCollected() | Yiisoft\ |
|
| getName() | Yiisoft\ |
|
| getSummary() | 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;
| public abstract array getSummary ( ) | ||
| return | array |
Summary payload. Keys may cross with any other summary collectors. |
|---|---|---|
public function getSummary(): array;
Defined in:
Yiisoft\
Called once at application shutdown.
Cleanup could be done here. Implementation must be idempotent.
| public abstract void shutdown ( ) |
public function shutdown(): void;
Defined in:
Yiisoft\
Called once at application startup.
Any initialization could be done here.
| public abstract void startup ( ) |
public function startup(): void;
User Contributed Notes
Leave a comment
Join the conversation to share a note.