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