__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim-Psr7/blob/master/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Psr7;
use function array_merge;
use function is_string;
class Header
{
private string $originalName;
private string $normalizedName;
private array $values;
public function __construct(string $originalName, string $normalizedName, array $values)
{
$this->originalName = $originalName;
$this->normalizedName = $normalizedName;
$this->values = $values;
}
public function getOriginalName(): string
{
return $this->originalName;
}
public function getNormalizedName(): string
{
return $this->normalizedName;
}
public function addValue(string $value): self
{
$this->values[] = $value;
return $this;
}
public function addValues(array|string $values): self
{
if (is_string($values)) {
return $this->addValue($values);
}
$this->values = array_merge($this->values, $values);
return $this;
}
public function getValues(): array
{
return $this->values;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Factory | Folder | 0755 |
|
|
| Interfaces | Folder | 0755 |
|
|
| Cookies.php | File | 5.23 KB | 0644 |
|
| Environment.php | File | 1.51 KB | 0644 |
|
| Header.php | File | 1.21 KB | 0644 |
|
| Headers.php | File | 8.64 KB | 0644 |
|
| Message.php | File | 3.84 KB | 0644 |
|
| NonBufferedBody.php | File | 2.45 KB | 0644 |
|
| Request.php | File | 8.71 KB | 0644 |
|
| Response.php | File | 8.46 KB | 0644 |
|
| Stream.php | File | 8.68 KB | 0644 |
|
| UploadedFile.php | File | 8.14 KB | 0644 |
|
| Uri.php | File | 12.12 KB | 0644 |
|
| autoload.php | File | 1.99 KB | 0644 |
|