Webiny\Component\Storage\Driver\Local\LocalHelper::normalizeDirectoryPath PHP Method

normalizeDirectoryPath() public method

.' and make sure it's not a symlink)
public normalizeDirectoryPath ( $path ) : string
$path
return string
    public function normalizeDirectoryPath($path)
    {
        $path = $this->normalizePath($path);
        if (is_link($path)) {
            $path = realpath($path);
        }
        return $path;
    }