protected function getFilePath(string $path): string
    {
        if (empty($path)) {
            $path = $this->fileName;
        }

        return $path;
    }
protected function getFilePath(string $path): string
    {
        if (empty($path)) {
            $path = $this->fileName;
        }

        return $path;
    }
protected function getFilePath ( string $ path ) : string { if ( empty ( $ path ) ) { $ path = $ this -> fileName ; } return $ path ; }
Get file path string

If file path is given, return as is. Otherwise
fallback on the default file name.

@param string $path File path
@return string
Get file path string