public function AcceptHeaderItem::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/AcceptHeaderItem.php \Symfony\Component\HttpFoundation\AcceptHeaderItem::__construct()
Constructor.
Parameters
string $value:
array $attributes:
File
- vendor/
symfony/ http-foundation/ AcceptHeaderItem.php, line 47
Class
- AcceptHeaderItem
- Represents an Accept-* header item.
Namespace
Symfony\Component\HttpFoundationCode
public function __construct($value, array $attributes = array()) {
$this->value = $value;
foreach ($attributes as $name => $value) {
$this
->setAttribute($name, $value);
}
}