class ReceiveFile (View source)

Methods

__construct(string $disk, array $config, bool $isProduction)

Create a new invokable controller to receive files.

__invoke(Request $request, string $path)

Handle the incoming request.

bool
hasValidSignature(Request $request)

Determine if the request has a valid signature if applicable.

Details

__construct(string $disk, array $config, bool $isProduction)

Create a new invokable controller to receive files.

Parameters

string $disk
array $config
bool $isProduction

Response __invoke(Request $request, string $path)

Handle the incoming request.

Parameters

Request $request
string $path

Return Value

Response

protected bool hasValidSignature(Request $request)

Determine if the request has a valid signature if applicable.

Parameters

Request $request

Return Value

bool

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.