<?php

namespace KupShop\CatalogBundle\Event;

use Symfony\Contracts\EventDispatcher\Event;

class ProductEvent extends Event
{
    public const PRODUCT_CREATED = 'kupshop.product.created';

    private $product;

    public function __construct(\Product $product)
    {
        $this->product = $product;
    }

    public function getProduct()
    {
        return $this->product;
    }
}
