original_string: public function setBasePath( string$basePath ):self
  	{
  		$this->basePath= '/'===substr($basePath,-1) ? substr($basePath,0,-1) : $basePath;
  
  		return $this;
  	}
code: public function setBasePath( string$basePath ):self
  	{
  		$this->basePath= '/'===substr($basePath,-1) ? substr($basePath,0,-1) : $basePath;
  
  		return $this;
  	}
code_tokens: public function setBasePath ( string $ basePath ) : self { $ this -> basePath = '/' === substr ( $ basePath , - 1 ) ? substr ( $ basePath , 0 , - 1 ) : $ basePath ; return $ this ; }
docstring: Setting the base path of the HTSL project to parse.
  
  @api
  
  @access public
  
  @param string $basePath
  
  @return self
docstring_tokens: Setting the base path of the HTSL project to parse .