public function afterSave(Event $event, Block $block, ArrayObject $options = null)
    {
        $block->afterSave();
        $this->clearCache();
    }
public function afterSave(Event $event, Block $block, ArrayObject $options = null)
    {
        $block->afterSave();
        $this->clearCache();
    }
public function afterSave ( Event $ event , Block $ block , ArrayObject $ options = null ) { $ block -> afterSave ( ) ; $ this -> clearCache ( ) ; }
Triggered after block was persisted in DB.

All cached blocks are automatically removed.

@param \Cake\Event\Event $event The event that was triggered
@param \Block\Model\Entity\Block $block The block entity that was saved
@param \ArrayObject $options Additional options given as an array
@return void
Triggered after block was persisted in DB .