You are here

public function AcceptHeader::all in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/AcceptHeader.php \Symfony\Component\HttpFoundation\AcceptHeader::all()

Returns all items.

Return value

AcceptHeaderItem[]

File

vendor/symfony/http-foundation/AcceptHeader.php, line 119

Class

AcceptHeader
Represents an Accept-* header.

Namespace

Symfony\Component\HttpFoundation

Code

public function all() {
  $this
    ->sort();
  return $this->items;
}