Sets the defaults.
This method implements a fluent interface.
array $defaults The defaults:
Route The current Route instance
public function setDefaults(array $defaults) { $this->defaults = array(); return $this ->addDefaults($defaults); }