31 lines
566 B
PHP
31 lines
566 B
PHP
<?php
|
|
|
|
namespace KupShop\StoresBundle\Event;
|
|
|
|
use Symfony\Contracts\EventDispatcher\Event;
|
|
|
|
class StoreEvent extends Event
|
|
{
|
|
public const MOVE_PRODUCTS = 'kupshop.stores.move_products';
|
|
|
|
public const CREATE_TRANSFER = 'kupshop.stores.create_transfer';
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $store_transfer;
|
|
|
|
public function __construct($store_transfer)
|
|
{
|
|
$this->store_transfer = $store_transfer;
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function getStoreTransfer()
|
|
{
|
|
return $this->store_transfer;
|
|
}
|
|
}
|