Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 2
PriceUpdated
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 2
 __construct
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 2
<?php
namespace Mtc\Shop\Events;
use Mtc\Shop\Product;
/**
 * This event is triggered when the Item is being rendered.
 *
 * Used by components to register their blocks.
 */
class PriceUpdated {
    public $product = null;
    public function __construct(Product $product) {
        $this->product = $product;
    }
}