PHP Класс Elcodi\Store\MetricBundle\EventListener\AddOrderCompletedMetricEventListener

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Elcodi\Component\Metric\Core\Services\MetricManager $metricManager, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store ) Construct
addMetric ( Elcodi\Component\Cart\Event\OrderOnCreatedEvent $event ) Create metrics about the order creation

Описание методов

__construct() публичный Метод

Construct
public __construct ( Elcodi\Component\Metric\Core\Services\MetricManager $metricManager, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store )
$metricManager Elcodi\Component\Metric\Core\Services\MetricManager Metric manager
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store

addMetric() публичный Метод

Create metrics about the order creation
public addMetric ( Elcodi\Component\Cart\Event\OrderOnCreatedEvent $event )
$event Elcodi\Component\Cart\Event\OrderOnCreatedEvent Event