Mecha CMS

Lot::let()

Remove request headers.

2.2.0 Static

Lot::let(void);
Lot::let(string $key);
Lot::let(array $keys);

Example:

// Remove all headers
Lot::let();
// Remove `x-powered-by` header
Lot::let('x-powered-by');
// Remove `x-powered-by` and `x-requested-with` header
Lot::let(['x-powered-by', 'x-requested-with']);