original_string: public function toAbsolute(): FilePathInterface
      {
          if ($this->myAboveBaseLevel > 0) {
              throw new FilePathLogicException('File path "' . $this->__toString() . '" can not be made absolute: Relative path is above base level.');
          }
  
          return new self(true, $this->myAboveBaseLevel, $this->myDrive, $this->myDirectoryParts, $this->myFilename);
      }
code: public function toAbsolute(): FilePathInterface
      {
          if ($this->myAboveBaseLevel > 0) {
              throw new FilePathLogicException('File path "' . $this->__toString() . '" can not be made absolute: Relative path is above base level.');
          }
  
          return new self(true, $this->myAboveBaseLevel, $this->myDrive, $this->myDirectoryParts, $this->myFilename);
      }
code_tokens: public function toAbsolute ( ) : FilePathInterface { if ( $ this -> myAboveBaseLevel > 0 ) { throw new FilePathLogicException ( 'File path "' . $ this -> __toString ( ) . '" can not be made absolute: Relative path is above base level.' ) ; } return new self ( true , $ this -> myAboveBaseLevel , $ this -> myDrive , $ this -> myDirectoryParts , $ this -> myFilename ) ; }
docstring: Returns the file path as an absolute path.
  
  @since 1.0.0
  
  @throws FilePathLogicException if the file path could not be made absolute.
  
  @return FilePathInterface The file path as an absolute path.
docstring_tokens: Returns the file path as an absolute path .