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

26 lines
588 B
PHP

<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\ApplicationPerformanceMonitor\Profiler\Input;
use Magento\ApplicationPerformanceMonitor\Profiler\InputInterface;
use Magento\Framework\AppInterface;
/**
* Adds applicationClass based on the current application
*/
class GeneralInput implements InputInterface
{
/**
* @inheritDoc
*/
public function doInput(AppInterface $application) : array
{
return ['applicationClass'=> get_class($application)];
}
}