public function flushCache($pattern = null)
    {
        $keys = $this->getServiceKeys($pattern);

        array_map(function ($key) {
            $actualKey = $this->getFullKey($key);
            $this->log('flushing cache for '.get_class($this).' ('.$actualKey.')');

            CacheFacade::forget($actualKey);
        }, $keys);
    }