public function each(\Closure $closure, $deep = false)
    {
        foreach($this->storage as $route)
        {
            $result = $closure($route);

            if($result !== null)
                return $result;

            if($route->hasSubroutes() && $deep)
            {
                $result = $route->getSubroutes()->each($closure, true);

                if($result !== null)
                    return $result;
            }
        }

        return null;
    }