Files
Jacob Brown e2de13390a ACPT-1584
Fixing static tests and making requested changes
2023-10-19 15:38:43 -05:00

32 lines
658 B
PHP

<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\ApplicationPerformanceMonitor\Profiler;
/**
* Interface for different ways of outputting our performance data.
*/
interface OutputInterface
{
/**
* Whether this output is currently enabled
*
* @return bool
*/
public function isEnabled() : bool;
/**
* Output our metrics and other information
*
* @param Metric[] $metrics
* @param array $information
* @return void
*/
public function doOutput(array $metrics, array $information) : void;
}