private function parseIgnoredRoutes($routes)
    {
        $ignoredRoutes = [];

        $routes = is_array($routes) ? $routes : func_get_args();

        foreach ($routes as $index => $route) {
            if (Str::startsWith($route, 'not:')) {
                $ignoredRoute = substr($route, 4);

                unset($routes[$index]);

                $ignoredRoutes[] = $ignoredRoute;
            }
        }

        return [$routes, $ignoredRoutes];
    }
private function parseIgnoredRoutes($routes)
    {
        $ignoredRoutes = [];

        $routes = is_array($routes) ? $routes : func_get_args();

        foreach ($routes as $index => $route) {
            if (Str::startsWith($route, 'not:')) {
                $ignoredRoute = substr($route, 4);

                unset($routes[$index]);

                $ignoredRoutes[] = $ignoredRoute;
            }
        }

        return [$routes, $ignoredRoutes];
    }
private function parseIgnoredRoutes ( $ routes ) { $ ignoredRoutes = [ ] ; $ routes = is_array ( $ routes ) ? $ routes : func_get_args ( ) ; foreach ( $ routes as $ index => $ route ) { if ( Str :: startsWith ( $ route , 'not:' ) ) { $ ignoredRoute = substr ( $ route , 4 ) ; unset ( $ routes [ $ index ] ) ; $ ignoredRoutes [ ] = $ ignoredRoute ; } } return [ $ routes , $ ignoredRoutes ] ; }
Separate ignored routes from the provided routes.

@param  mixed  $routes
@return array
Separate ignored routes from the provided routes .