INTERCEPTION

Ability observe public method calls in application

Events

Mage::dispatchEvent('product_save_before', $this->_getEventData());

Interceptors

$productResource->save($product);

Interception workflow

DOCS

Interception in Magento 2

By Anton Kril

Interception in Magento 2

  • 3,271
Loading comments...

More from Anton Kril