for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Blog\Listeners\Tags;
use Arcanesoft\Blog\Events\Tags\AbstractTagEvent;
use Arcanesoft\Blog\Models\Tag;
/**
* Class ClearTagsSelectDataCache
*
* @package Arcanesoft\Blog\Listeners\Tags
* @author ARCANEDEV <[email protected]>
*/
class ClearTagsSelectDataCache
{
/* -----------------------------------------------------------------
| Main Methods
| -----------------------------------------------------------------
* Handle the event.
* @param \Arcanesoft\Blog\Events\Tags\AbstractTagEvent $event
public function handle(AbstractTagEvent $event)
$event
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
cache()->forget(Tag::SELECT_CACHE_NAME);
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.