Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Apr 22, 2020 5:13 PM
Views: 132
  1.     public function afterCommitCallback()
  2.     {
  3.         $this->_eventManager->dispatch('model_save_commit_after', ['object' => $this]);
  4.         $this->_eventManager->dispatch($this->_eventPrefix . '_save_commit_after', $this->_getEventData());
  5.         return $this;
  6.     }