mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
26 lines
588 B
PHP
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)];
|
|
}
|
|
}
|