original_string: public function joinTrailingSlash()
      {
          if ($this->hasTrailingSeparator()) {
              return $this;
          }
  
          return $this->createPath(
              $this->atoms(),
              $this instanceof AbsolutePathInterface,
              true
          );
      }
code: public function joinTrailingSlash()
      {
          if ($this->hasTrailingSeparator()) {
              return $this;
          }
  
          return $this->createPath(
              $this->atoms(),
              $this instanceof AbsolutePathInterface,
              true
          );
      }
code_tokens: public function joinTrailingSlash ( ) { if ( $ this -> hasTrailingSeparator ( ) ) { return $ this ; } return $ this -> createPath ( $ this -> atoms ( ) , $ this instanceof AbsolutePathInterface , true ) ; }
docstring: Adds a trailing slash to this path.
  
  @return PathInterface A new path instance with a trailing slash suffixed to this path.
docstring_tokens: Adds a trailing slash to this path .