public function getDirectory(): FilePathInterface
    {
        return new self($this->myIsAbsolute, $this->myAboveBaseLevel, $this->myDrive, $this->myDirectoryParts, null);
    }
public function getDirectory(): FilePathInterface
    {
        return new self($this->myIsAbsolute, $this->myAboveBaseLevel, $this->myDrive, $this->myDirectoryParts, null);
    }
public function getDirectory ( ) : FilePathInterface { return new self ( $ this -> myIsAbsolute , $ this -> myAboveBaseLevel , $ this -> myDrive , $ this -> myDirectoryParts , null ) ; }
Returns the directory of the file path.

@since 1.0.0

@return FilePathInterface The directory of the file path.
Returns the directory of the file path .