You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace domain\Product\Rotating\Event;
-
- use domain\Product\Rotating\RotatingModule;
- use justcoded\yii2\eventlistener\observers\ActiveRecordObserver;
- use yii\base\ErrorException;
-
- class RotatingObserver extends ActiveRecordObserver
- {
- public function inserted(\yii\db\AfterSaveEvent $event)
- {
- //RotatingModule::getInstance()->getManager()->initializeRotatingInDistributionsIncoming($event->sender);
- }
-
- /**
- * @throws ErrorException
- */
- public function updated(\yii\db\AfterSaveEvent $event)
- {
- //RotatingModule::getInstance()->getManager()->initializeRotatingInDistributionsIncoming($event->sender);
- }
- }
|