Return the address by which you can access the file.

@param string $default

@return string|null
346518
public function url($default = null): ?string
    {
        $disk = $this->getAttribute('disk');

        if (Storage::disk($disk)->exists($this->physicalPath())) {
            return Storage::disk($disk)->url($this->physicalPath());
        }

        return $default;
    }
1151147
public function getRequestParam(string $key, $default = null)
  {
    return $this->getQueryParam($key)   ?: 
           $this->getBodyParam($key)    ?: 
           $this->getUploadedFile($key) ?: $default;
  }
886032
protected function getPort($default = 3000)
    {
        $ports = [];
        foreach ($this->getServerInfo() as $address => $server) {
            $ports[] = $server['port'];
        }

        return PortUtil::getPort($ports ? max($ports) + 1 : $default);
    }
872454
public function get($key, $default = null)
    {
        $values = $this->readFileContents();

        if ($this->has($key)) {
            return $values[$key][self::VALUE];
        }

        return $default;
    }
53386
public function getByPath(string $key, $default = null)
    {
        // eg. 'users.*.id'
        if (\strpos($key, '.*') > 0) {
            return $this->getByWildcard($key);
        }

        return Helper::getValueOfArray($this->data, $key, $default);
    }
1092114
public function get( $name, $default = null )
	{
		$value = $this->_getObject()->get( $name, $default );

		$this->_file->set( $name, $value, $default );

		return $value;
	}
1056593
public function getByBasenameOrDefault($name, $default=null)
    {
        return $this->where(function(File $f) use($name)
        {
            return $f->getBasename() == $name;
        })->singleOrDefault($default);
    }
1305471
public static function file($index = null, $default = null)
	{
		return (func_num_args() === 0) ? $_FILES : \Arr::get($_FILES, $index, $default);
	}
1338472
public function get($key, $default = null)
    {
        if (empty($key)) {
            return $default;
        }

        $parts = explode(".", $key);
        $file = array_shift($parts);

        if (!isset($this->registry[$file])) {
            $this->registry[$file] = $this->discover($file);
        }
        $res = $this->parse($key);

        return is_null($res) ? $default : $res;
    }
1321224
public function file($name = null, $default = null)
    {
        $files = $this->request['files'];

        if (isset($name)) {
            return !empty($files[$name]['name']) ? $files[$name] : $default;
        }

        return $files;
    }
426276
public function get($key = null, $default = null)
    {
        if ($key === null) {
            return $this->all();
        }

        return $this->getStackReference($this->storage, explode(self::SEPARATOR, $key), $default);
    }
1282630
public function getArgument($offset, $default = null)
	{
		$args = $this->input->args;

		if (isset($args[$offset]))
		{
			return $args[$offset];
		}

		if (is_callable($default))
		{
			return $default();
		}

		return $default;
	}
634139
public function get(string $directive, $default = null)
    {
        return $this->has($directive) ? $this->definition[$directive] : $default;
    }
748589
public function getExportStorageFolder($default = null)
    {
        $folder = array_get($this->manifest, 'storage.folder', array_get($this->manifest, 'storage.path', $default));

        return (empty($folder)) ? $default : $folder;
    }
1175441
public function getString(string $key, string $default = null) : string
    {
        return (string) $this->get($key, $default);
    }
942844
public function getParam($key = null, $default = null)
    {
        if (null === $key) {
            return $_GET;
        }
        return (isset($_GET[$key])) ? $_GET[$key] : $default;
    }
938130
function get($name,$default = null){
        $name_arr = explode(':', $name);
        if(!isset($name_arr[1])){
            $name_arr[1] = $name_arr[0];
            $name_arr[0] = 'system';
        }
        if(!isset($this->config[$name_arr[0]])){
            $this->config[$name_arr[0]] = new ConfigParser($this->config_file_path . $name_arr[0] . ".config.php");
        }
        return $this->config[$name_arr[0]]->get($name_arr[1],$default);
    }