/**
 * Return current path.
 *
 * @return string|null Current path
 */
public function path(): ?string

Examples

$result = $filesystem->directory('/foo')->path();

Getting Started

Methods

Filesystem
File
Directory