You are here

public function AcceptHeaderItem::setIndex in Zircon Profile 8

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

Set the item index.

Parameters

int $index:

Return value

AcceptHeaderItem

File

vendor/symfony/http-foundation/AcceptHeaderItem.php, line 156

Class

AcceptHeaderItem
Represents an Accept-* header item.

Namespace

Symfony\Component\HttpFoundation

Code

public function setIndex($index) {
  $this->index = $index;
  return $this;
}