original_string: public function base($path = null)
      {
          if ($path !== null) {
              $path = trim($path, '/');
              $this->base = $path ? '/' . $path : null;
              $this->baseRoute = [];
          }
  
          return $this->base;
      }
code: public function base($path = null)
      {
          if ($path !== null) {
              $path = trim($path, '/');
              $this->base = $path ? '/' . $path : null;
              $this->baseRoute = [];
          }
  
          return $this->base;
      }
code_tokens: public function base ( $ path = null ) { if ( $ path !== null ) { $ path = trim ( $ path , '/' ) ; $ this -> base = $ path ? '/' . $ path : null ; $ this -> baseRoute = [ ] ; } return $ this -> base ; }
docstring: Get or set base path for the pages.
  
  @param  string $path
  
  @return string
docstring_tokens: Get or set base path for the pages .