You are here

public function AcceptHeader::all in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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;
}