original_string: public function prefix($prefix) {
  		// Reset values before matching.
  		$this->prefix = $this->parentPrefix;
  		$this->requestPathOffset = $this->parentRequestPathOffset;
  		if ($this->parentPrefixMatched) {
  			$this->prefixMatched = $this->parentPrefixMatched;
  		}
  
  		if (!$this->result->hasHandler() && $this->prefixMatched) {
  			$this->prefixMatched = $this->matchPartial($prefix);
  		}
  
  		$this->prefix .= $prefix;
  
  		return $this;
  	}
code: public function prefix($prefix) {
  		// Reset values before matching.
  		$this->prefix = $this->parentPrefix;
  		$this->requestPathOffset = $this->parentRequestPathOffset;
  		if ($this->parentPrefixMatched) {
  			$this->prefixMatched = $this->parentPrefixMatched;
  		}
  
  		if (!$this->result->hasHandler() && $this->prefixMatched) {
  			$this->prefixMatched = $this->matchPartial($prefix);
  		}
  
  		$this->prefix .= $prefix;
  
  		return $this;
  	}
code_tokens: public function prefix ( $ prefix ) { // Reset values before matching. $ this -> prefix = $ this -> parentPrefix ; $ this -> requestPathOffset = $ this -> parentRequestPathOffset ; if ( $ this -> parentPrefixMatched ) { $ this -> prefixMatched = $ this -> parentPrefixMatched ; } if ( ! $ this -> result -> hasHandler ( ) && $ this -> prefixMatched ) { $ this -> prefixMatched = $ this -> matchPartial ( $ prefix ) ; } $ this -> prefix .= $ prefix ; return $ this ; }
docstring: Set a common path prefix for all routes.
  
  @param string $prefix
  @return self
docstring_tokens: Set a common path prefix for all routes .