$atoms The path atoms. * @param string|null $drive The drive specifier. * @param boolean|null $isAbsolute True if the path is absolute. * @param boolean|null $isAnchored True if the path is anchored to the drive root. * @param boolean|null $hasTrailingSeparator True if the path has a trailing separator. * * @return WindowsPathInterface The newly created path instance. * @throws InvalidPathAtomExceptionInterface If any of the supplied atoms are invalid. */ public static function fromDriveAndAtoms( $atoms, $drive = null, $isAbsolute = null, $isAnchored = null, $hasTrailingSeparator = null ) { return static::factory()->createFromDriveAndAtoms( $atoms, $drive, $isAbsolute, $isAnchored, $hasTrailingSeparator ); } /** * Get the most appropriate path factory for this type of path. * * @return Factory\WindowsPathFactoryInterface The path factory. */ protected static function factory() { return Factory\WindowsPathFactory::instance(); } }