public function getDetails(): array
    {
        if (!$this->loaded) {
            $this->resolvePath();
        }

        $path = [
            'rawpath' => $this->raw,
            'realpath' => $this->real,
            'directory' => $this->directory,

            'safepath' => $this->safepath,
            'filepath' => $this->filepath,

            'basename' => $this->basename,
            'filename' => $this->filename,
            'extension' => $this->extension,
        ];

        $splInfo = !is_file($this->raw) ? false : [
            'type' => $this->fileInfo->getType(),
            'size' => $this->fileInfo->getSize(),
        ];

        return [
            'path' => $path,
            'splInfo' => $splInfo,
        ];
    }
public function getDetails(): array
    {
        if (!$this->loaded) {
            $this->resolvePath();
        }

        $path = [
            'rawpath' => $this->raw,
            'realpath' => $this->real,
            'directory' => $this->directory,

            'safepath' => $this->safepath,
            'filepath' => $this->filepath,

            'basename' => $this->basename,
            'filename' => $this->filename,
            'extension' => $this->extension,
        ];

        $splInfo = !is_file($this->raw) ? false : [
            'type' => $this->fileInfo->getType(),
            'size' => $this->fileInfo->getSize(),
        ];

        return [
            'path' => $path,
            'splInfo' => $splInfo,
        ];
    }
returns all path-properties for testing/debugging purposes
@return string[]