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

buildPath() public method

Build absolute path by given $key and $directory
public buildPath ( $key, $directory, $create ) : mixed
$key
$directory
$create
return mixed
    public function buildPath($key, $directory, $create)
    {
        $this->ensureDirectoryExists($directory, $create);
        return $this->normalizeDirectoryPath($directory . '/' . $key);
    }