public function map(Registrar $router) { foreach ($this->getRoutes() as $binder) { $binder->addRoutes($router); } }