public function setBasePath( string$basePath ):self
	{
		$this->basePath= '/'===substr($basePath,-1) ? substr($basePath,0,-1) : $basePath;

		return $this;
	}
public function setBasePath( string$basePath ):self
	{
		$this->basePath= '/'===substr($basePath,-1) ? substr($basePath,0,-1) : $basePath;

		return $this;
	}
public function setBasePath ( string $ basePath ) : self { $ this -> basePath = '/' === substr ( $ basePath , - 1 ) ? substr ( $ basePath , 0 , - 1 ) : $ basePath ; return $ this ; }
Setting the base path of the HTSL project to parse.

@api

@access public

@param string $basePath

@return self
Setting the base path of the HTSL project to parse .