original_string: public function path($var = null)
      {
          if ($var !== null) {
              // Folder of the page.
              $this->folder = basename($var);
              // Path to the page.
              $this->path = dirname($var);
          }
  
          return $this->path ? $this->path . '/' . $this->folder : null;
      }
code: public function path($var = null)
      {
          if ($var !== null) {
              // Folder of the page.
              $this->folder = basename($var);
              // Path to the page.
              $this->path = dirname($var);
          }
  
          return $this->path ? $this->path . '/' . $this->folder : null;
      }
code_tokens: public function path ( $ var = null ) { if ( $ var !== null ) { // Folder of the page. $ this -> folder = basename ( $ var ) ; // Path to the page. $ this -> path = dirname ( $ var ) ; } return $ this -> path ? $ this -> path . '/' . $ this -> folder : null ; }
docstring: Gets and sets the path to the folder where the .md for this Page object resides.
  This is equivalent to the filePath but without the filename.
  
  @param  string $var the path
  
  @return string|null      the path
docstring_tokens: Gets and sets the path to the folder where the . md for this Page object resides . This is equivalent to the filePath but without the filename .