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 Yiisoft\Yii\Debug\Collector\CollectorInterface.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCollected() | Yiisoft\Yii\Debug\Collector\CollectorInterface | |
| getName() | Yiisoft\Yii\Debug\Collector\CollectorInterface | |
| getSummary() | Yiisoft\Yii\Debug\Collector\SummaryCollectorInterface | |
| 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 getCollected( ): array | ||
| return | array |
Data collected. |
|---|---|---|
public function getCollected(): array;
| public abstract getName( ): string | ||
| return | string |
Collector's name. |
|---|---|---|
public function getName(): string;
| public abstract getSummary( ): array | ||
| return | array |
Summary payload. Keys may cross with any other summary collectors. |
|---|---|---|
public function getSummary(): array;
Defined in: Yiisoft\Yii\Debug\Collector\CollectorInterface::shutdown()
Called once at application shutdown.
Cleanup could be done here. Implementation must be idempotent.
| public abstract shutdown( ): void |
public function shutdown(): void;
Defined in: Yiisoft\Yii\Debug\Collector\CollectorInterface::startup()
Called once at application startup.
Any initialization could be done here.
| public abstract startup( ): void |
public function startup(): void;
Signup or Login in order to comment.