public function updateRule($index, $regex, $mapping, $priority = 'top')
    {
        $this->rewrites[$index] = array($regex, $mapping, $priority);
    }
public function updateRule($index, $regex, $mapping, $priority = 'top')
    {
        $this->rewrites[$index] = array($regex, $mapping, $priority);
    }
public function updateRule ( $ index , $ regex , $ mapping , $ priority = 'top' ) { $ this -> rewrites [ $ index ] = array ( $ regex , $ mapping , $ priority ) ; }
Updates a predefined rule by index.
@param  int $index    The rule's index
@param string $regex
@param string $mapping
@param string $priority Defaults to 'top'
Updates a predefined rule by index .