protected function cleanUp(array $configs)
    {
        $configs['view'] = !isset($configs['view']) ? [] : $this->filterViewPath($configs['view']);
        $configs['volt'] = !isset($configs['volt']) ? [] : $this->filterVoltPath($configs['volt']);
        if ($this->cache instanceof Cache\CacheInterface) {
            $this->cache->setConfig($configs);
        }
        return $configs;
    }