public static function fromDriveAndAtoms(
        $drive,
        $atoms,
        $hasTrailingSeparator = null
    ) {
        return static::factory()->createFromDriveAndAtoms(
            $atoms,
            $drive,
            true,
            false,
            $hasTrailingSeparator
        );
    }
public static function fromDriveAndAtoms(
        $drive,
        $atoms,
        $hasTrailingSeparator = null
    ) {
        return static::factory()->createFromDriveAndAtoms(
            $atoms,
            $drive,
            true,
            false,
            $hasTrailingSeparator
        );
    }
public static function fromDriveAndAtoms ( $ drive , $ atoms , $ hasTrailingSeparator = null ) { return static :: factory ( ) -> createFromDriveAndAtoms ( $ atoms , $ drive , true , false , $ hasTrailingSeparator ) ; }
Creates a new absolute Windows path from a set of path atoms and a drive
specifier.

@param string        $drive                The drive specifier.
@param mixed<string> $atoms                The path atoms.
@param boolean|null  $hasTrailingSeparator True if the path has a trailing separator.

@return AbsoluteWindowsPathInterface      The newly created path instance.
@throws InvalidPathAtomExceptionInterface If any of the supplied atoms are invalid.
Creates a new absolute Windows path from a set of path atoms and a drive specifier .