public function load()
    {
        foreach ($this->registers as $register) {
            $registerInstance = $register instanceof RouteRegister ? $register : new $register;
            $registerInstance->register($this->routeCollector);
        }

        return $this->routeCollector->setContainer($this->container)->getData();
    }