public function afterSave(Event $event, Entity $plugin, ArrayObject $options = null)
    {
        snapshot();
        $this->clearCache();
    }
public function afterSave(Event $event, Entity $plugin, ArrayObject $options = null)
    {
        snapshot();
        $this->clearCache();
    }
public function afterSave ( Event $ event , Entity $ plugin , ArrayObject $ options = null ) { snapshot ( ) ; $ this -> clearCache ( ) ; }
This method automatically regenerates system's snapshot.

@param \Cake\Event\Event $event The event that was triggered
@param \Cake\ORM\Entity $plugin The Plugin entity that was saved
@param \ArrayObject $options The options passed to the save method
@return void
This method automatically regenerates system s snapshot .