You are here

public function AcceptHeader::__toString in Zircon Profile 8

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

Returns header value's string representation.

Return value

string

File

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

Class

AcceptHeader
Represents an Accept-* header.

Namespace

Symfony\Component\HttpFoundation

Code

public function __toString() {
  return implode(',', $this->items);
}