original_string: public function getParentDirectory(): ?FilePathInterface
      {
          if ($this->myParentDirectory($aboveBaseLevel, $directoryParts)) {
              return new self($this->myIsAbsolute, $aboveBaseLevel, $this->myDrive, $directoryParts, null);
          }
  
          return null;
      }
code: public function getParentDirectory(): ?FilePathInterface
      {
          if ($this->myParentDirectory($aboveBaseLevel, $directoryParts)) {
              return new self($this->myIsAbsolute, $aboveBaseLevel, $this->myDrive, $directoryParts, null);
          }
  
          return null;
      }
code_tokens: public function getParentDirectory ( ) : ? FilePathInterface { if ( $ this -> myParentDirectory ( $ aboveBaseLevel , $ directoryParts ) ) { return new self ( $ this -> myIsAbsolute , $ aboveBaseLevel , $ this -> myDrive , $ directoryParts , null ) ; } return null ; }
docstring: Returns the parent directory of the file path or null if file path does not have a parent directory.
  
  @since 1.0.0
  
  @return FilePathInterface|null The parent directory of the file path or null if file path does not have a parent directory.
docstring_tokens: Returns the parent directory of the file path or null if file path does not have a parent directory .