public function addOptions(array $options)
    {
        if ($options) {
            foreach ($this->routes as $route) {
                $route->addOptions($options);
            }
        }
    }
public function addOptions(array $options)
    {
        if ($options) {
            foreach ($this->routes as $route) {
                $route->addOptions($options);
            }
        }
    }
public function addOptions ( array $ options ) { if ( $ options ) { foreach ( $ this -> routes as $ route ) { $ route -> addOptions ( $ options ) ; } } }
Adds options to all routes.

An existing option value under the same name in a route will be overridden.

@param array $options An array of options
Adds options to all routes .