Get UploadedFile from given key

@param string $key
@return UploadedFile|null
7419
public function getUploadedFile($key)
    {
        if(isset($this->uploadedFiles[$key]))
            return $this->uploadedFiles[$key];

        return null;
    }
285397
public function get(string $name): ?UploadedFileInterface
    {
        if (!isset($this->uploadedFiles[$name])) {
            return null;
        }

        return $this->uploadedFiles[$name];
    }
1065938
public function getHeaderValue($key)
    {
        return isset($this->headers[$key]) ? $this->headers[$key] : null;
    }
922382
public function get($key) {
    $out = NULL;
    // Read the json encoded value from disk if it exists.
    $path = $this->getFileName($key);
    if (file_exists($path)) {
      $out = file_get_contents($path);
      $out = json_decode($out, TRUE);
    }
    return $out;
  }
697281
public function file($key = null, $default = null)
    {
        if ($this->needParser()) {
            $this->treatPutRequest();
            $fileObjects = [];
            if ($this->hasFile($key)) {
                $files = $this->fileParser->getFiles($key);
                foreach ($files as $key => $file) {
                    $originalName  = Arr::get($file, 'name');
                    $mimeType      = Arr::get($file, 'type');
                    $path          = Arr::get($file, 'tmp_name');
                    $size          = Arr::get($file, 'size');
                    $fileObjects[] = new \Illuminate\Http\UploadedFile($path, $originalName, $mimeType, $size);
                }
            }
            if (count($fileObjects) == 0) {
                return $default;
            } elseif (count($fileObjects) == 1) {
                return $fileObjects[0];
            }

            return $fileObjects;
        }

        return parent::file($key, $default);
    }
755028
public function create(string $key) : string
    {
        $headers = [
            'Upload-Length' => $this->fileSize,
            'Upload-Key' => $key,
            'Upload-Checksum' => $this->getUploadChecksumHeader(),
            'Upload-Metadata' => 'filename ' . base64_encode($this->fileName),
        ];

        if ($this->isPartial()) {
            $headers += ['Upload-Concat' => 'partial'];
        }

        $response = $this->getClient()->post($this->apiPath, [
            'headers' => $headers,
        ]);

        $statusCode = $response->getStatusCode();

        if (HttpResponse::HTTP_CREATED !== $statusCode) {
            throw new FileException('Unable to create resource.');
        }

        $uploadLocation = current($response->getHeader('location'));

        $this->getCache()->set($this->getKey(), [
            'location' => $uploadLocation,
            'expires_at' => Carbon::now()->addSeconds($this->getCache()->getTtl())->format($this->getCache()::RFC_7231),
        ]);

        return $uploadLocation;
    }
1062912
public function get($pKey)
    {
        $file = $this->_loadFile($pKey);

        if (isset($this->_files[$file][$pKey]) and $this->_checkTtl($file, $pKey)) {
            return $this->_files[$file][$pKey][static::AGL_CACHE_VALUE];
        }

        return NULL;
    }
545614
public function get($key)
    {
        $filename = $this->cacheDir . DIRECTORY_SEPARATOR . $this->processKey($key);

        if (is_file($filename) && is_readable($filename)) {
            if (@filemtime($filename) < (time() - $this->ttl)) {
                return null;
            } else {
                return unserialize($this->safelyReadData($filename));
            }
        }

        return null;
    }
1152324
public function getHeader($key)
    {
        return isset($this->_headers[$key]) ? $this->_headers[$key] : null;
    }
1084034
public function getStash(?string $key = null)
    {
        $content = json_decode(file_get_contents($this->temp()), true);

        return $key ? (isset($content[$key]) ? $content[$key] : null) : $content;
    }
915345
public function request(string $key, $default = null)
  {
    return $this->get($key) ?: $this->post($key) ?: $this->files($key) ?: $default;
  }
676951
private function load($key)
    {
        $path = $this->getPath($key);

        return file_exists($path) ? file_get_contents($path) : false;
    }
1014523
public function get($key)
    {
        if (array_key_exists($key, $this->container)) {
            return $this->container[$key];
        }

        return null;
    }
262361
public function getPayload($key = null)
    {
        if (is_null($key)) {
            return $this->payload;
        }

        return isset($this->payload[$key]) ? $this->payload[$key] : null;
    }
867468
public function get(string $key, string $method = null) {
		if(is_null($method)) {
			$method = self::DATA_COMBINED;
		}

		$data = null;

		switch($method) {
		case self::DATA_QUERYSTRING:
			$data = $this->queryStringParameters->get($key);
			break;

		case self::DATA_BODY:
			$data =$this->bodyParameters->get($key);
			break;

		case self::DATA_FILES:
			$data = $this->fileUploadParameters->getFile($key);
			break;

		case self::DATA_COMBINED:
			$data = $this->parameters->get($key);
			break;

		default:
			throw new InvalidInputMethodException($method);
		}

		return $data;
	}
650115
public function retrieve(string $key)
    {
        $token = null;

        $storageInstance = $this->getRepository();

        $token = $storageInstance->{$key}?? null;

        return $token;
    }
305969
public function get($key)
    {
        if ( !$content = $this->info($key) ) {
            return null;
        }

        return $this->unpack($content);
    }