/** * @param RouterRule $handler * @return RouterRule */ protected function addDefaultHandler(RouterRule $handler) { $this->anchors[$this->anchorsPointer] = $handler; $handler->setPointer('anchors', $this->anchorsPointer); $this->anchorsPointer++; return $handler; }