public function clearAction()
    {

        /*
         * to do: check if logged in user is sysadmin
         * */
        if ($this->authorizationChecker->isGranted('ROLE_SUPER_ADMIN')) {
            /** @var \Networking\InitCmsBundle\Lib\PhpCacheInterface $phpCache */
            $phpCache = $this->get('networking_init_cms.lib.php_cache');
            $phpCache->clean();

            /*clean function does not return status, therefore set success to true */
            $success = true;
            $response = ['success' => $success];

            return new Response(json_encode($response));
        } else {
            /*wrong autorisation */
            $success = false;
            $response = ['success' => $success];

            return new Response(json_encode($response));
        }
    }