private function getProtectedRoutes()
    {
        $protected = new Collection();
        $routes = RouteList::instance()->getRoutes();

        foreach ($routes as $route) {
            if ($route['middleware']->has('acl') || $route['middleware']->search('acl', true) !== false) {
                $protected->put($route['resource'], new Collection($route));
            }
        }

        return $protected;
    }