PHP Class Elcodi\Store\MetricBundle\EventListener\AddOrderCompletedMetricEventListener

Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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() public méthode

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