protected function refillCache()
    {

        // lets clear the cache so we can fill it anew
        foreach (new \DirectoryIterator($this->getConfig()->getValue('cache/dir')) as $fileInfo) {
            if (!$fileInfo->isDot() && !$fileInfo->isDir()) {
                // unlink the file
                unlink($fileInfo->getPathname());
            }
        }

        // lets create the definitions anew
        return $this->createDefinitions();
    }