public function addOption($name, array $attributes) { $this->options[$name] = new RouteOption($name, $attributes); return $this; }