Networking\InitCmsBundle\Component\Routing\Route::setDefaults PHP Method

setDefaults() public method

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