public function forget($caller, array $parameters = [])
    {
        $cacheKey = $this->cacheKey($caller, $parameters);

        if ($caller == 'delete') {
            $this->repository->mediator->database($caller, $parameters);
        }

        return $this->cache()->forget($cacheKey);
    }
public function forget($caller, array $parameters = [])
    {
        $cacheKey = $this->cacheKey($caller, $parameters);

        if ($caller == 'delete') {
            $this->repository->mediator->database($caller, $parameters);
        }

        return $this->cache()->forget($cacheKey);
    }
public function forget ( $ caller , array $ parameters = [ ] ) { $ cacheKey = $ this -> cacheKey ( $ caller , $ parameters ) ; if ( $ caller == 'delete' ) { $ this -> repository -> mediator -> database ( $ caller , $ parameters ) ; } return $ this -> cache ( ) -> forget ( $ cacheKey ) ; }
Forget data in cache behind caller with specified parameters.

@param string $caller
@param array  $parameters

@return bool
Forget data in cache behind caller with specified parameters .