app/Observers/EventObserver.php
/**
     * Listen to the Entry deleted event.
     *
     * @param Category $category
     * @return void
     */
Listen to the Entry deleted event.
@param Category $category
@return void
Listen to the Entry deleted event . @param Category $category @return void
public function deleted(Category $category)
    {
        $this->clearCache($category);
    }
public function deleted ( Category $ category ) { $ this -> clearCache ( $ category ) ; }
Listen to the Entry deleted event.
Listen to the Entry deleted event .
// Removing Entries from the Cache