src/UrlHandlers/UrlHandler.php
private function addChildUrlHandlers($childHandlers)
    {
        foreach ($childHandlers as $childUrl => $childHandler) {
            $childHandler->setUrl($childUrl);
            $childHandler->setParentHandler($this);

            $this->childUrlHandlers[] = $childHandler;
        }

        return $this;
    }
private function addChildUrlHandlers($childHandlers)
    {
        foreach ($childHandlers as $childUrl => $childHandler) {
            $childHandler->setUrl($childUrl);
            $childHandler->setParentHandler($this);

            $this->childUrlHandlers[] = $childHandler;
        }

        return $this;
    }
private function addChildUrlHandlers ( $ childHandlers ) { foreach ( $ childHandlers as $ childUrl => $ childHandler ) { $ childHandler -> setUrl ( $ childUrl ) ; $ childHandler -> setParentHandler ( $ this ) ; $ this -> childUrlHandlers [ ] = $ childHandler ; } return $ this ; }
Adds child url handlers to this the parent.

@param UrlHandler[] $childHandlers
@return $this
Adds child url handlers to this the parent .