Represents a name/value parameter part of a header.
- author Zaahid Bateson
CloneableInstantiable
Methods |
public __construct(Psr\Log\LoggerInterface $logger, ZBateson
|
public getCharset() : ?string Returns the charset if the part is an RFC-2231 part with a charset set. |
public getIndex() : ?int |
public getLanguage() : ?string Returns the RFC-1766 (or subset) language tag, if the parameter is an RFC-2231 part with a language tag set.
|
public isUrlEncoded() : bool |
Properties |
protected ?string $charset = NULL
|
protected bool $encoded = false
|
protected ?int $index = NULL
|
protected ?string $language = NULL
|
Methods |
protected decodePartValue(string $value, ?string $charset = NULL) : string |
protected getNameFromParts(array $parts) : string |
protected getValueFromParts(array $parts) : string |